Go to example tasks

Compress image

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.

Try for free
Image Resizer API
Image Resizer APImaximedupre/image-resizer-api
ID
Source
Original image
Generated image
+2 fields
Text
Number
Boolean
List
Object

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

How it works

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.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay