Go to example tasks
Compress image
Created by
Maxime Dupré
Actor
Image Resizer API
Compress one image URL into a 1200 by 800 AVIF with quality 65, a 1 MB file-size limit, centered containment, white padding, and no metadata. Review the original and output sizes in the dataset row and use output.url to download the file.
Image Resizer APImaximedupre/image-resizer-api
ID
Source
Original image
Generated image
+2 fieldsTextNumberBooleanListObject
Input
Images(required)
Image URL:https://placehold.co/1600x1000.jpg?text=compress
Image ID:compress-sample
Target size:custom
Custom width:1200
Custom height:800
Resize fit:contain
Crop position:center
Padding style:solid
Background color:#FFFFFF
Output format:avif
Quality:65
Maximum file size:1
Preserve image metadata:false
Output fields
ID
Source
Original image
Generated image
Metadata preserved
File size limit MB
Sign up on Apify01
Create your Apify account to access the Image Resizer API.
Start the run02
The Actor will start running based on the input automatically.
Receive the output03
Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.
Integrate into your workflow04
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.
