Output

Caravaggio can return your image in another format. You my want to transform a png image into a progressive jpeg.
Caravaggio supports jpeg, png webp and tiff.

Example

Try
Copy
https://caravaggio.now.sh/o_png/https://cvg-res.now.sh/girls.jpeg
Try
Copy
https://caravaggio.now.sh/o_webp/https://cvg-res.now.sh/girls.jpeg

If you specify nothing or you enter o_original, the same format as the input image will be returned.

Notes

If you installed caravaggio through the global npm module, you may need to ensure your version of libvips supports the image formats you need. See the sharp documentation external-link about this.