UprootLabs / poly-flif

:camera: A poly-fill for the FLIF image format.
https://uprootlabs.github.io/poly-flif/
Other
244 stars 11 forks source link

Use Cloudinary to generate FLIF images #23

Open jonsneyers opened 7 years ago

jonsneyers commented 7 years ago

As discussed on gitter:

Cloudinary supports FLIF, so for the demo page, you could make a Cloudinary account and put the original PNGs there. E.g.

http://res.cloudinary.com/jon/kodim05.png

To produce a progressive lossless FLIF file from that, you simply have to change the URL: http://res.cloudinary.com/jon/fl_progressive/kodim05.flif

For lossy, you can use e.g.: http://res.cloudinary.com/jon/fl_progressive,fl_lossy,q_50/kodim05.flif

You can also produce JPEGs and Adam7 interlaced PNGs in a similar way.

You can also use the upload widget to let people upload their own images (in any format) and automatically convert it to the other formats.

Cloudinary accounts are free as long as you're not using too much space or bandwidth. Let me know if you start to run into limits; I can probably arrange something if needed.