Re: [hackers] [PATCH] [sent] Quick patch to replace png with farbfeld

From: FRIGN <>
Date: Wed, 18 Nov 2015 11:56:40 +0100

On Wed, 18 Nov 2015 10:46:51 +0000
Dimitris Papastamos <> wrote:

> This also works with jpg and gif and others. The 2ff wrapper will
> use imagemagick conversion tools. This is temporary as jpg2ff and
> gif2ff will also be implemented.

As a side note, the 2ff-filter can also receive png-images and already
automatically call png2ff when it detects a png.
If you look at the 2ff script, you'll notice how simple it is really.

My plan is, to, over time, add the other jpg2ff, gif2ff and what-not
and slowly replace the imagemagick-fallback.
Not everybody has imagemagick on his computer, but can still run 2ff
depending on what he passes to it.
imagemagick may be a sucky program as is, but just as with surf to
access the web, I see 2ff like a glove to touch all these diseases image-
formats (like png, gif, jpg, tiff, ...) not having to worry about them
while working with the actual data.

I again want to stress here that I've been dealing with libpng for
almost 2 days now and I've still not found a satisfying general way
to handle 16-Bit PNG's properly.
The interface can be compared to the 6th circle of hell.



Received on Wed Nov 18 2015 - 11:56:40 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 18 2015 - 12:00:24 CET