Image Optimizer โ€” WebP / AVIF / JPEG / PNG Bulk Compress avatar

Image Optimizer โ€” WebP / AVIF / JPEG / PNG Bulk Compress

Pricing

from $0.001 / image optimized

Go to Apify Store
Image Optimizer โ€” WebP / AVIF / JPEG / PNG Bulk Compress

Image Optimizer โ€” WebP / AVIF / JPEG / PNG Bulk Compress

Batch convert, resize and compress images to WebP, AVIF, JPEG or PNG, optionally stripping metadata. The image step for your web, n8n, Make and Zapier pipelines.

Pricing

from $0.001 / image optimized

Rating

0.0

(0)

Developer

hiper soft

hiper soft

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Image Optimizer โ€” WebP / AVIF / JPEG / PNG Bulk Compress & Resize

Batch convert, resize and compress images to WebP, AVIF, JPEG or PNG โ€” strip metadata, shrink file size, and drop the results straight into your pipeline.

What it does

Give it a list of image URLs and a target format. For every image it fetches the file, converts it to your chosen format, optionally resizes it down to a max width/height, compresses it at your chosen quality, and (by default) strips EXIF/IPTC/XMP metadata. Each optimized file is saved to storage with a direct download link, and you get a dataset row showing the original size, new size and percentage saved.

  • Four formats โ€” WebP, AVIF, JPEG, PNG.
  • Smart resize โ€” cap width and/or height without upscaling or distorting.
  • Quality control โ€” one dial from 1 (smallest) to 100 (best).
  • Metadata stripping โ€” remove GPS, camera and author data for smaller, more private files.
  • Bulk โ€” hundreds of images in one run.

Use cases

  • The image step in your pipeline โ€” the compress-and-convert stage in an n8n, Make or Zapier workflow. Feed in URLs, get back optimized files and a savings report.
  • TinyPNG-style batch optimization โ€” shrink a whole folder of images at once for the web, without an upload UI.
  • Web performance โ€” serve modern WebP/AVIF to cut page weight and speed up load times.
  • CMS & e-commerce โ€” normalise product and blog images to one format and size.
  • Privacy โ€” strip location and camera metadata before publishing user uploads.

Input

{
"imageUrls": [
"https://example.com/photo-1.jpg",
"https://example.com/photo-2.png"
],
"format": "webp",
"quality": 80,
"maxWidth": 1600,
"maxHeight": 0,
"stripMetadata": true
}
FieldTypeDescription
imageUrlsarrayDirect image URLs to optimize.
formatstringwebp, avif, jpeg or png. Default webp.
qualityintegerCompression quality 1โ€“100. Default 80.
maxWidthintegerMax width in px; 0 keeps original.
maxHeightintegerMax height in px; 0 keeps original.
stripMetadatabooleanRemove EXIF/IPTC/XMP metadata. Default true.

Output

Each image produces one dataset row, and the optimized file is saved with a direct link (resultUrl).

{
"url": "https://example.com/photo-1.jpg",
"format": "webp",
"origBytes": 482113,
"newBytes": 91544,
"savedPct": 81,
"width": 1600,
"height": 1067,
"resultUrl": "https://api.apify.com/v2/key-value-stores/xxxx/records/img-0001.webp",
"ok": true
}

Output schema

FieldTypeDescription
urlstringThe source image URL.
formatstringOutput format.
origBytesintegerOriginal file size in bytes.
newBytesintegerOptimized file size in bytes.
savedPctnumberPercentage of size saved.
widthintegerOutput width in px.
heightintegerOutput height in px.
resultUrlstringDirect link to the optimized file.
okbooleanWhether the image was optimized successfully.

FAQ

Which format should I use? WebP is the best all-round choice for the web. AVIF compresses even smaller but encodes slower. JPEG and PNG maximise compatibility with older tools.

Does resizing upscale small images? No โ€” images are only ever scaled down to fit your limits, never enlarged, and aspect ratio is preserved.

What if one URL is broken? That image is skipped with ok: false and an error field; the rest of the run continues.

Can I automate it? Yes โ€” via integrations on the Apify platform (n8n, Make, Zapier and more) and the Apify API.

Notes

Original clean-room implementation.