Go to example tasks
Resize image to 100kb
Created by
Maxime Dupré
Actor
Image Resizer API
Resize one image to an 800 by 600 JPEG with a 100 KB file-size limit, centered containment, white padding, quality 55, and no metadata. Review the output size 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=100kb
Image ID:target-100kb
Target size:custom
Custom width:800
Custom height:600
Resize fit:contain
Crop position:center
Padding style:solid
Background color:#FFFFFF
Output format:jpeg
Quality:55
Maximum file size:0.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.
