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: FRIGN 2016-01-13 11:49

>>15

Okay, I found a proper testcase:

IMAGE1: random RGBA
IMAGE2: random RGB with FF Alpha channel

We can assume IMAGE1 to have full entropy, so in the ideal case, it would recognize that 1/4th of the data has a very low entropy and will shrink the size down by 25%. Let me build something, because this topic actually interests me as well.

I will of course test it with bzip2.

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