Image Compressor
Compress, resize, and convert static images using a CPU-only image processing pipeline.
Features
- JPEG, PNG, WebP, and AVIF
- Quality-based compression
- Target file-size compression
- Lossless PNG and WebP output
- Proportional resizing
- EXIF removal and ICC profile preservation
- Transparent images with configurable JPEG background color
Output
Returns one compressed image. On Replicate, prediction.output is a temporary HTTPS file URL.
Limits
- Maximum input size: 50 MB
- Maximum resolution: 40 megapixels
- Maximum side length: 16,384 pixels
- Static images only
- Animated images and SVG are not supported
- Target file size is best effort and may require reducing image dimensions
Model created