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 11:10

>>41
I like your image format. It's really clever to split image representation and compression into two different stages. Dijkstra taught us about the importance of seperation of concerns and this embodies that in a way that has genius simplicity.

Yeah, and it's especially clever to put the format identifier behind the compression, so that you need to decompress the beginning of each file to get its real file type, or duplicate that information in some ad hoc unreliable way like using file extensions.

It's also pretty clever to force the use of generic compression algorithms instead of much more efficient specialized algorithms for lossless image compression.

I'm literally feeling suckless UNIX philosophy flowing through me right now.

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