Bulk Image Resizer, Converter & Compressor (WebP, AVIF) avatar

Bulk Image Resizer, Converter & Compressor (WebP, AVIF)

Pricing

from $2.00 / 1,000 image outputs

Go to Apify Store
Bulk Image Resizer, Converter & Compressor (WebP, AVIF)

Bulk Image Resizer, Converter & Compressor (WebP, AVIF)

Resize, convert and compress images in bulk from URLs: WebP, AVIF, JPEG (mozjpeg), PNG (quantised), GIF, TIFF. Responsive srcset sizes, smart crop, EXIF auto-rotate and GPS stripping, transparency kept, animated GIF to WebP, one ZIP download.

Pricing

from $2.00 / 1,000 image outputs

Rating

0.0

(0)

Developer

oqen

oqen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Security

Limited permissions

Share

Give it a list of image URLs; get back resized, converted and compressed files plus a table of before/after sizes. Built on sharp / libvips, the fastest open-source image library, with mozjpeg, libwebp, libaom AVIF and libimagequant PNG quantisation.

Typical jobs

  • Convert a product catalogue or a blog's images to WebP or AVIF (often 60–90% smaller)
  • Generate responsive srcset sizes (320 / 640 / 1280 px) in one run
  • Make square thumbnails with smart crop (fit: cover, which keeps the most interesting part of the image in frame)
  • Strip EXIF / GPS location before publishing user-submitted photos
  • Turn HEIC phone photos, TIFF scans or SVG logos into web formats
  • Shrink animated GIFs by converting them to animated WebP

What it gets right

  • EXIF orientation is applied to the pixels, so photos never come out sideways, then the metadata is removed. The colour profile is kept so colours don't shift. Set keepMetadata if you need EXIF.
  • Transparency is preserved for WebP, AVIF and PNG. For JPEG it is flattened onto your background colour, not black.
  • Never upscales by default. In srcset mode, widths larger than the original are skipped instead of producing duplicates.
  • Animated GIF/WebP stay animated when the output format supports it.
  • Corrupt, truncated, non-image and over-limit files (50 MB, 100 megapixels) come back as clear error rows and are not charged.
  • largerThanOriginal warns you when a conversion didn't pay off, e.g. an already tiny AVIF converted to WebP.

Input example

{ "images": [{ "url": "https://example.com/photo.jpg" }], "format": "avif", "widths": [320, 640, 1280], "quality": 75, "createZip": true }

Output example

{ "sourceUrl": "https://example.com/photo.jpg", "status": "ok", "outputKey": "0001-photo-640w.avif",
"outputUrl": "https://api.apify.com/v2/key-value-stores/.../records/0001-photo-640w.avif",
"format": "avif", "width": 640, "height": 427, "bytes": 9642, "originalFormat": "jpeg",
"originalWidth": 1280, "originalHeight": 853, "originalBytes": 109586, "savedPercent": 91.2, "largerThanOriginal": false }

Download the files one by one from outputUrl, all at once from images.zip, or have your pipeline pull them from the key-value store via the API.

Pricing

Pay per event: one image-output per output file. One image converted to three srcset widths is three events. Failed downloads and invalid images are free. Use maxImages and Max cost per run to cap spend.