Compress
Compress is a Processing API task that reduces the file size of JPG and PNG images.
How It Works
- Works with JPG and PNG files
- JPG files are compressed with mozjpeg
- An image that is already compressed is not compressed again
Example
https://cdn.filestackcontent.com/compress/HANDLE
Combining Tasks
Compress is often chained after resize and auto_image: https://cdn.filestackcontent.com/resize=w:300/auto_image/compress/HANDLE.
Related terms
Image Optimization
Processing API tasks that make image files smaller for web delivery.
Auto Image Conversion
The auto_image task, which serves WebP or JPEG XR to browsers that support them.
JPEG/JPG
Popular lossy image compression format widely supported across web browsers.
PNG (Portable Network Graphics)
Lossless image format supporting transparency and high-quality graphics.
More in Transformations
This page is one of 94 terms in the Filestack glossary.
Browse all terms