imgflo / imgflo-server

HTTP image processing server based on imgflo
48 stars 7 forks source link

Add support for WebP images #22

Open jonnor opened 9 years ago

jonnor commented 9 years ago

Starting to appear in the wild now. Requires deploying webp and GEGL dependency

Need to implement support in node-canvas https://github.com/Automattic/node-canvas/blob/master/src/PNG.h https://github.com/GNOME/gegl/blob/master/operations/external/webp-save.c https://mail.gnome.org/archives/commits-list/2012-August/msg09042.html https://code.google.com/p/webp/

jonnor commented 9 years ago

A related problem right now is that we can't easily know what is supported and not in GEGL, or figure out that something did fail due to unsupported image tyep

jonnor commented 9 years ago

It could be that for noflo-canvas graphs, it would be better to convert to a supported file format using GEGL, do processing, and then convert back using GEGL. That way adding new formats only requires work in one place instead of two