1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00
imgproxy/docs/image_formats_support.md
2018-12-21 01:58:39 +06:00

876 B

Image formats support

At the moment, imgproxy supports only the most popular Web image formats:

  • PNG;
  • JPEG;
  • WebP;
  • GIF;
  • ICO;
  • SVG (source only).

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.

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.

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.