Convert images to a specified format to reduce file size or meet platform-specific format requirements.
Parameters
image_process=format
|
Format |
Description |
|
jpeg |
Converts images to JPG or JPEG format. |
|
png |
Converts images to PNG format. |
|
webp |
Converts images to WebP format. |
|
bmp |
Converts images to BMP format. |
|
gif |
Keeps images in GIF format. If the source image is not in GIF format, it is kept in its original format. |
|
tiff |
Converts images to TIFF format. |
|
jp2 |
Converts images to JPEG 2000 format. JPEG 2000 images use the JP2 file extension. |
Examples
To convert an image to BMP format, use the following request URL: http(s)://example.com/image_01.png?image_process=format,bmp.