1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-02-02 11:34:20 +02:00
imgproxy/docs/image_formats_support.md

19 lines
674 B
Markdown
Raw Normal View History

2018-11-08 16:34:21 +06:00
# Image formats support
At the moment, imgproxy supports only the most popular Web image formats:
* PNG;
* JPEG;
* WebP;
* GIF.
## 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.
2018-11-15 20:04:12 +06:00
Since processing of animated GIFs is pretty heavy, only one frame is processed by default. You can increase the maximum of GIF frames to process with the following variable:
* `IMGPROXY_MAX_GIF_FRAMES`: the maximum of animated GIF frames to being processed. Default: `1`.
**Note:** imgproxy summarizes all GIF frames resolutions while checking source image resolution.