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-13 11:19

>>11
Let this thread be an immortalized testament to the cluelessness of "suckless".

Just to humor you, here's a real experiment you can run:

If all those same alpha values truly compress into the information "Every N bytes there's always 2 FFs", then the compressed form would only need a handful of bytes to represent the entire file's alpha.

Take an image with a constant alpha channel value, and remove alpha to yield 48-bit pixels instead.

If your rationale is true, the compressed file size will not change much at all between the file with an alpha channel, and the one without.

Do this with a large image, and post the file sizes.

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