News for hackers. Stuff that matters.
Re:Farbfeld – A suckless image format by userbinator on Thursday January 14, 2016 @11:34PM (#10907224)
Current image formats have integrated compression, making it complicated to read the image data. One is forced to use complex libraries like libpng, libjpeg, libjpeg-turbo, giflib and others

...

Dependencies

libpng

libjpeg-turbo

That's a bit of a non sequitur.

Aside from that, the arguments put forth aren't very convincing; the "integrated compression" is what makes compressed formats more efficient, since these are specialised compression algorithms adapted for image data. PNG, for example, uses a differencing filter. I think me and many others have tried ZIP'ing or RAR'ing uncompressed BMPs before, and found the compression is not as good as PNG. This is not even mentioning the possibility of lossy compression.

Re:Farbfeld – A suckless image format by pjscott on Thursday January 14, 2016 @11:43PM (#10907249)
The file format is trivial, and can be read and written without any dependencies.

The converter programs jpg2ff and ff2jpg depend on libjpeg-turbo to read and write JPEG files.

The converter programs png2ff and ff2png depend on libpng to read and write PNG files.