mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-03-22 20:21:28 +02:00
34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
# Image formats support
|
|
|
|
At the moment, imgproxy supports only the most popular Web image formats:
|
|
|
|
* PNG;
|
|
* JPEG;
|
|
* WebP;
|
|
* GIF;
|
|
* ICO;
|
|
* SVG _(source only)_;
|
|
* HEIC.
|
|
|
|
## GIF support
|
|
|
|
imgproxy supports GIF output only when using libvips 8.7.0+ compiled with ImageMagick support. Official imgproxy Docker image supports GIF out of the box.
|
|
|
|
## ICO support
|
|
|
|
imgproxy supports ICO output only when using libvips 8.7.0+ compiled with ImageMagick support. Official imgproxy Docker image supports ICO out of the box.
|
|
|
|
## HEIC support
|
|
|
|
imgproxy supports HEIC only when using libvips 8.8.0+. Official imgproxy Docker image supports HEIC out of the box.
|
|
|
|
By default, imgproxy saves HEIC images as JPEG. You need to explicitly specify the `format` option to get HEIC output.
|
|
|
|
## Animated images support
|
|
|
|
Since processing of animated images is pretty heavy, only one frame is processed by default. You can increase the maximum of animation frames to process with the following variable:
|
|
|
|
* `IMGPROXY_MAX_ANIMATION_FRAMES`: the maximum of animated image frames to being processed. Default: `1`.
|
|
|
|
**Note:** imgproxy summarizes all frames resolutions while checking source image resolution.
|