Supported Output Formats
format parameter enables the source image to be converted (a.k.a., "transcoded") from one encoded format to another. This is very useful when the source image has been saved in a sub-optimal file format that hinders performance.
||The output image format.|
||Graphics Interchange Format|
||Portable Network Graphics|
||Portable Network Graphics palette variant with 8-bit transparency and 256 colors|
Automatic WebP Format Selection
Automatic delivery of WebP format images via Content Negotiation can be enabled using the
auto=webp parameter. This will override the
format parameter in browsers that support WebP.
Although the WebP format produces images at a higher compression ratio with a lower loss of quality, it is not supported in all browsers.
Supported Input Formats
The source image can be any of the following image formats:
- JPEG, Progressive JPEG, WebP (Lossy) and PNG8 have a sliding quality scale that supports the
- GIF and PNG do not have a sliding quality scale. They do not support the
- A progressive JPEG
pjpgis an image created using the JPEG suite of compression algorithms that will "fade in" successive waves of lines until the entire image has completely arrived. For this reason progressive JPEG's typically appear to load quicker than the Baseline JPEG
- WebP support is currently only available in Google Chrome, Opera and Android Browser.
- Lossless compression is currently supported for WebP only.
- GIF transcoding is currently not supported.
|Encode to PNG - Transcode the source WebP image to a PNG.||
Advanced Examples (Combining Additional Parameters)
|Encode to a progressive JPEG with 95% quality||