AVIF squares with error rows
Two images as 500x500 lossless AVIF; broken links come back as free rows that say what went wrong.
Updated November 12, 2026
What this example returns
The dataset’s “Download links” view shows 6 columns: File, Download, Width, Height, Bytes, and Source. See every output field.
What each setting does
The input this example runs Image Resizer & Converter with. “Try this input” opens it in the console, where you can run it as-is or change any field first.
- Image URLs
imageUrls https://upload.wikimedia.org/wikipedia/commons/9/9a/Gull_portrait_ca_usa.jpg, https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png, https://upload.wikimedia.org/wikipedia/commons/does-not-exist-404.jpg, https://scrape.ly/, https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_l…
Direct links to the images, one per line: JPEG, PNG, WebP, GIF (animated too), AVIF, HEIC/HEIF, TIFF, BMP or ICO, up to 100 MB each. Google Drive, Dropbox and GitHub share links are turned into download links automatically. Each image gives one file per output size. You can also (or instead) take images from a…
- Width (px)
width 500
Target width in pixels. Leave empty to set only the height, or leave both empty to keep the size and only convert or compress. With only one side set, the other follows the image's proportions.
- Height (px)
height 500
Target height in pixels. With both width and height set, 'Fit' decides how the image fills that box.
- Fit
fit Fill (stretch)
How the image fits a box when both width and height are set. Inside: keep proportions, fit within the box (no cropping). Cover: fill the box exactly and crop what sticks out. Contain: fit within the box and pad the rest with the background colour. Fill: stretch to the exact size.
Default: Inside (keep proportions, no crop) → this example uses Fill (stretch)
- Output format
format AVIF
File format of the results. WebP and AVIF give the smallest files, JPEG opens everywhere, PNG is lossless with transparency. 'Same as source' keeps each image's own format (HEIC becomes JPEG).
Default: WebP → this example uses AVIF
- Enlarge smaller images
allowUpscale Yes
Off: images smaller than the target keep their size (no blurry enlarging). On: they are enlarged to the target.
Default: No → this example uses Yes
- Lossless WebP / AVIF
lossless Yes
Keep every pixel exactly (bigger files). Best for logos, screenshots and graphics with text. JPEG is always lossy; PNG, GIF, TIFF and BMP are always lossless.
Default: No → this example uses Yes
- File name
fileNameTemplate {index}-{name}-{width}x{height}
Name of each saved file, without the extension. Placeholders: {name} (the source file name), {index} (position in the input), {width}, {height}, {size} (the requested size) and {format}. With several sizes, '-x' is added when the name has no size placeholder. Same names get -2, -3 ...
Default: {name} → this example uses {index}-{name}-{width}x{height}
{
"imageUrls": [
"https://upload.wikimedia.org/wikipedia/commons/9/9a/Gull_portrait_ca_usa.jpg",
"https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png",
"https://upload.wikimedia.org/wikipedia/commons/does-not-exist-404.jpg",
"https://scrape.ly/",
"https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg",
"http://169.254.169.254/latest/meta-data/",
"not a link"
],
"width": 500,
"height": 500,
"fit": "fill",
"allowUpscale": true,
"format": "avif",
"lossless": true,
"fileNameTemplate": "{index}-{name}-{width}x{height}"
}What it costs
You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.
- Image up to 500 KB$0.0017One resized or converted file made from a source image of up to 500 KB.
- Image 10 to 25 MB$0.0102One resized or converted file made from a source image of 10 to 25 MB.
- Image 2 to 10 MB$0.00425One resized or converted file made from a source image of 2 to 10 MB.
- Image 500 KB to 2 MB$0.00255One resized or converted file made from a source image of 500 KB to 2 MB.
- Image 25 to 50 MB$0.02125One resized or converted file made from a source image of 25 to 50 MB.
- Image 50 to 100 MB$0.051One resized or converted file made from a source image of 50 to 100 MB.
When to use this example
From the Image Resizer & Converter readme:
How long do the download links work?
Each fileUrl and the ZIP link open without an account for 7 days. The files stay in your storage for as long as your plan keeps run results.
Other ways to run Image Resizer & Converter
- Photos to WebP, at most 1600 pxBig JPEG and PNG photos shrunk to fit 1600x1600 and saved as WebP.
- Social media sizes (JPEG)A 1200x630 link preview, a 1080x1080 post and a 400 px thumbnail from each photo, each under 150 KB.
- Thumbnails in the original formatBase64 images and links (animated GIF, HEIC, PNG) padded to 300x300 squares, each kept in its own format.
About Image Resizer & Converter
Resize, crop, convert and compress images in bulk from links, datasets or uploaded files: WebP, AVIF, JPEG, PNG, GIF, TIFF, BMP and ICO, HEIC input, several sizes per image, target file size, EXIF removal and animated GIF/WebP. One row per file with a download link, plus a ZIP of all files.
- Price:
- $1.70 / 1,000 results
- Developer:
- Echofield
- Categories:
- Developer tools, Automation, E-commerce
Related actors
Latest articles
GuidesWeb Scraper Chrome Extensions: 4 Good Ones, and When to Use a Cloud Scraper
The best web scraper Chrome extensions in 2026 (Web Scraper, Instant Data Scraper, Data Miner and Evomi Web Data), what each is good at, where every extension stops, and how a cloud scraper takes over for schedules, thousands of pages and API access.
Read the article
AI agents12 Best MCP Servers in 2026: Web Data, Code, Docs and Browsers
The best MCP servers in 2026, grouped by job: web data, documentation, code, browsers, errors, databases and the official reference servers. Each with its hosted URL or install command, how it signs in, and the caveats its own README states.
Read the article
Guidesn8n Puppeteer Node: Puppeteer and Playwright in n8n Without Self-Hosting Chrome
The n8n Puppeteer node needs Chromium inside your n8n container and installs only on self-hosted n8n. How it and the Playwright nodes install, where they break, and how to run the same browser scrape on Scrape.ly from n8n instead, with a real tested run.
Read the article
The internet is full of data.
Start owning yours.
Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.