Image Converter & Optimizer (WebP, AVIF, JPEG, PNG)
Pricing
Pay per event
Image Converter & Optimizer (WebP, AVIF, JPEG, PNG)
Bulk-convert and compress images from URLs or a dataset to WebP, AVIF, JPEG or PNG. Resize, crop, fix orientation, strip metadata, hit a target file size. Failed images are free.
Pricing
Pay per event
Rating
0.0
(0)
Developer
Cellwright
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Convert and compress images in bulk – from a list of URLs or straight from the dataset of another Actor (product, listing or real-estate scrapers). Output WebP, AVIF, JPEG or PNG, resize or crop to exact thumbnails, fix camera orientation, strip EXIF/GPS metadata and even hit a target file size. One file and one clean record per image. Failed images are free.
Ideal for web performance (Core Web Vitals, PageSpeed), e-commerce image pipelines, CMS migrations, thumbnail generation and AI agents that need small, consistent images.
Why this Actor
- Modern formats: WebP and AVIF (typically 30–80 % smaller than JPEG/PNG), plus JPEG, PNG, GIF or "keep original format".
- Chain it after a scraper: pick a dataset and the Actor finds the image field itself (
imageUrl,image,images[],url,src, …) or use your own field path (product.image). - Resize the way you need: inside (keep aspect ratio, never upscale by default), cover (exact size, cropped – thumbnails), contain (exact size, padded with a colour or transparency).
- Target file size: e.g. "every image ≤ 100 kB" – the quality is lowered step by step, never below your minimum.
- Correct by default: EXIF orientation applied (no sideways photos), colour profile kept, transparency kept (flattened onto your background colour for JPEG), animated GIF/WebP stay animated, CMYK and 16-bit images handled.
- Privacy: EXIF data such as GPS location and camera serials are removed unless you want to keep them.
- Fair and safe: pay only for converted images; download errors, 404s and non-images are free. Private/internal addresses are blocked.
Input
| Field | Default | Description |
|---|---|---|
images | – | Direct image URLs (JPEG, PNG, GIF, WebP, AVIF, BMP, TIFF, ICO), max 50 MB each |
datasetId | – | Optional: take image URLs from a dataset (combined with images) |
urlField | auto | Dataset field with the URL or a list of URLs; dot path allowed |
format | webp | webp, avif, jpeg, png, gif, original |
quality | 80 | 1–100 for WebP, AVIF, JPEG |
width, height | 0 | Max size (inside) or exact size (cover/contain); 0 = keep |
fit | inside | inside, cover, contain |
upscale | false | Enlarge smaller images with inside |
background | #ffffff | Flatten/pad colour, or transparent |
targetSizeKb | 0 | Max file size in kB (lossy formats), 0 = off |
minQuality | 40 | Lowest quality for the target-size search |
lossless | false | Lossless WebP/AVIF (logos, screenshots) |
stripMetadata | true | Remove EXIF/GPS |
keepColorProfile | true | Keep ICC profile |
keepAnimation | true | Keep animations (max 300 frames) |
progressive | true | Progressive JPEG |
maxImages | 1000 | Budget guard per run |
maxConcurrency | 4 | Parallel downloads (1–16) |
Example – product thumbnails from a scraper dataset:
{"datasetId": "YOUR_DATASET_ID","format": "webp","width": 600,"height": 600,"fit": "contain","background": "#ffffff","targetSizeKb": 60}
Output
Converted files are stored in the run's key-value store (keys like 0001-product-photo.webp). One dataset record per image:
| Field | Description |
|---|---|
sourceUrl | Image URL from the input |
ok | false if the image could not be converted (then free) |
key, outputUrl | Key-value store key and download URL of the converted file |
format, contentType | Output format and MIME type |
width, height, frames | Output size and number of frames |
outputBytes, originalBytes, savedBytes, savedPercent | File sizes and savings |
originalFormat, originalWidth, originalHeight, originalFrames | Source image |
quality, lossless | Quality used (after a target-size search) |
targetSizeReached | true/false with targetSizeKb, else null |
hasAlpha, outputMegapixels | Transparency, output megapixels (all frames) |
error, errorType | Reason if ok is false: input, http, network, blocked |
processedAt | ISO timestamp |
Dataset views: Images (with preview) and Details. A run summary (images converted/failed, total savings) is in the key-value store record OUTPUT.
Pricing (pay per event)
- $0.001 per converted image (up to 10 megapixels of output)
- Very large or animated outputs count once per started 10 MP (width × height × frames), e.g. a 24 MP photo without resizing = 3 events
- Free: download errors, 404s, non-images, files over the limits
Example: 1,000 product photos resized to 1200 px WebP = $1.00.
Limits
- Max 50 MB per file, 100 megapixels input, 40 megapixels output per frame, 300 animation frames.
- No HEIC/HEIF input yet, no SVG rasterising.
- Public URLs only (no logins, cookies or custom headers). Process only images you are allowed to use.
Use with AI agents / API
Flat, stable camelCase fields; run via the Apify API or MCP server, read the dataset and download outputUrl.