Introduction
farbfeld is a very simple lossless image format from the suckless project. A file holds one picture as 16-bit red, green, blue and alpha samples, with no compression of its own. It is meant to be easy to read, write and pipe between small tools.
Structure
The file starts with the 8 bytes farbfeld, then the width and height as
32-bit big-endian unsigned numbers. The pixels follow row by row, each as four 16-bit
big-endian values in the order red, green, blue, alpha. The colours should be sRGB and
not premultiplied by alpha.
Not described
Known, not yet covered
- Reference: this page is a summary; the layout is not yet described in full on this site.
- Viewer: the site has no viewer for farbfeld files.
Links
Software
- farbfeld tools – the suckless converters to and from farbfeld
Reference
- farbfeld – the project’s page with the format description