- Fastly Status
Last updated August 10, 2018
By adding the transformation URL API query string parameters to your existing image URLs, images can be resized, cropped, rotated, compressed, and transcoded into different image formats for increased performance. Image transformations can be applied programmatically and on-demand, eliminating the need to batch process or maintain multiple copies of an image to support different sizes and characteristics of device viewing your image content.
Resize an image to 200px wide.
Although the URL API parameters can be specified in any order, we normalize the transformation sequence within our system to the following order:
Supported input and output image formats
The source image can be any of the following image formats:
The optimized output image can be any of the following image formats:
Input and output limits
- The maximum input image file size is 50 Megabytes.
- The maximum input image dimensions are 12,000x12,000 pixels.
- The maximum output image dimensions are 8,192x8,192 pixels (8K Ultra HD).
- The maximum number of frames an animated GIF can contain is 1,000.
Default quality level
quality parameter is present for
webp the output image will be returned at the default value set in the Image Optimizer User Interface.
Meta data removal
To optimize your images for delivery, all metadata (for example, EXIF, XMP, or ICC) is removed to reduce file size. If an image contains an ICC profile, the data is applied directly to the image to ensure color output is correct.
WebP image support
WebP images can be delivered to supported browsers by adding the
auto=webp parameter or by applying the Auto WebP control in the Image Optimizer user interface.
Image upscaling is disabled by default and discouraged from use. Image upscaling increases both the file size and delivery time of the image to the end user with no visual improvement in quality. We recommend handling upscaling on the client-side (e.g. web browser, css, native app) by setting the width/height attributes of the image.