Auto Image Conversion
Auto image conversion is the Processing API auto_image task. It changes the encoding of an image to a newer format when the browser supports it.
Formats
Filestack converts automatically to WebP and JPEG XR. The browser is identified from its User-Agent header.
Example
https://cdn.filestackcontent.com/resize=w:300/auto_image/compress/HANDLE resizes the image, picks the format for the browser and compresses it. In the documentation example, a 48.45 KB JPEG is delivered as a 44.84 KB WebP file.
Other Formats
To serve a set format, such as AVIF, use the output task.
Related terms
User Agent Detection
Reading the browser's User-Agent header to choose an image format with auto_image.
WebP
Modern image format providing superior compression and quality compared to JPEG and PNG.
Image Optimization
Processing API tasks that make image files smaller for web delivery.
AVIF
Image format based on the AV1 codec, available in Filestack through the output task.
More in Transformations
This page is one of 94 terms in the Filestack glossary.
Browse all terms