Image Converter — Convert, Resize to WebP, AVIF, PNG
Pricing
from $1.00 / 1,000 results
Image Converter — Convert, Resize to WebP, AVIF, PNG
Convert images by URL to WebP, AVIF, PNG or JPEG, with optional resizing and quality settings. Reports the size before and after. Each result links to the stored file.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Ponderable Hydrometer
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Convert and shrink images in bulk. Modern formats such as WebP and AVIF load faster and cost less to serve. Give it links, pick a format, and get stored files plus how many bytes you saved.
What you get
One row per converted image: imageUrl, fileUrl, format, width, height, originalBytes, bytes, savedPercent, plus two flags: lossless (true when the file was written losslessly) and largerThanOriginal (true when the converted file is bigger than the source).
Output sample
{"imageUrl": "https://example.com/photo.png","fileUrl": "https://api.apify.com/v2/key-value-stores/abc123/records/image-1.webp","format": "webp","width": 1200,"height": 800,"originalBytes": 912344,"bytes": 104211,"savedPercent": 89}
Input
| Field | Type | Default | Description |
|---|---|---|---|
imageUrls | array | — | Direct links to images. |
format | string | "webp" | webp, avif, png or jpeg. |
quality | integer | 80 | From 1 to 100, for webp, avif and jpeg. |
maxWidth | integer | 0 | Shrink wider images to this width. 0 keeps the size. |
maxHeight | integer | 0 | Shrink taller images to this height. 0 keeps the size. |
Good to know
- Images are never enlarged, and EXIF rotation is applied.
- WebP and AVIF: if the lossy file (at your
quality) comes out as large as or larger than the source, the Actor also tries lossless encoding and keeps the smaller of the two (lossless: true). This is what turns small PNGs, line art and screenshots from bigger into smaller WebP files. - The Actor always returns the format you asked for. If even the best encoding is larger than the source (for example a small PNG converted to JPEG, or an already optimised PNG), the row is still produced and billed as one result, but
savedPercentis negative andlargerThanOriginalistrue, so you can filter those rows out or keep your original. - A link that is not a readable image produces no row and no result fee.
Pricing
Pay per result — $1.00 per 1,000 results (one converted image = one result), plus Apify's standard per-run start event ($0.00005 per GB of memory, so a fraction of a cent per run). No subscription.