Image Encoding
Image Encoding operation allow control of the type file to return.
QueryString API
format=png|gif|jpeg|webpdetermines the format to encode the image as. Defaults to the original format.jpeg.quality=0..100determines the jpeg encoding quality. Default is90jpeg.progressive=trueenables progressive jpeg encoding.jpeg.turbo=trueencodes files faster at the expense of file size.webp.quality=0..100determines the webp encoding quality.webp.lossless=trueenables lossless webp encoding. Defaultfalsepng.lossless=falsedisables lossless PNG encoding. Defaulttrueunlesspng.qualityis specified.png.quality=0..100determines lossy png quality. Default100.png.min_quality=0..100determines the minimum png quality that must be realized before lossless is used. Default0
Last updated
Was this helpful?