Version: 2.8.0
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
https://caravaggio.now.sh/o_png/https://cvg-res.now.sh/girls.jpeghttps://caravaggio.now.sh/o_webp/https://cvg-res.now.sh/girls.jpegIf 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
about this.