Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

farbfeld

Name: Anonymous 2016-01-13 1:50

farbfeld is a lossless image format which is easy to parse, pipe and
compress.
It has the following format:

| Bytes | Description |
|--------|------------------------------------------------------------|
| 8 | "farbfeld" magic value |
| 4 | 32-Bit BE unsigned integer (width) |
| 4 | 32-Bit BE unsigned integer (height) |
| [2222] | 4⋅16-Bit BE unsigned integers [RGBA] / pixel, row-aligned |


http://tools.suckless.org/farbfeld/

Name: Anonymous 2016-01-14 22:58

>>56
The tests in this thread has shown that keeping the extra bloated data in the file format is not made up by the compression. PNG etc al store less information, with 24bpp RBG, 8bpp greyscale, and such compared to always 64bpp. farbfeld feeds more data into bzip2 than PNG does, so the output is going to be bigger.

>>58
The best way we print numbers of different is to align the radix point. Little-endian has the radix point aligned across varying numeric lengths, so things like casting as smaller sizes work transparently. Big-endian does not align its radix point. End of story.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List