Image Converter — JPEG, PNG and WebP With Resize and Quality avatar

Image Converter — JPEG, PNG and WebP With Resize and Quality

Pricing

from $1.60 / 1,000 image converted (xs)s

Go to Apify Store
Image Converter — JPEG, PNG and WebP With Resize and Quality

Image Converter — JPEG, PNG and WebP With Resize and Quality

Image converter: Static JPEG, PNG and WebP conversion with bounded resizing. $0.002 per XS source (up to 500 KB); $0.003 per S source (over 500 KB to 2 MB); $0.015 per M source (over 2 MB to 10 MB); start extra; usage included; failed results uncharged.

Pricing

from $1.60 / 1,000 image converted (xs)s

Rating

0.0

(0)

Developer

Logan Parker

Logan Parker

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Image converter for static JPEG, PNG and WebP: resize without upscaling, choose an output format and set JPEG or WebP encoding quality; source-byte bands determine the result event. AI agents can call and pay through Apify MCP. List event rates are $0.002 per XS source (up to 500 KB); $0.003 per S source (over 500 KB to 2 MB); $0.015 per M source (over 2 MB to 10 MB); start is extra, usage is included and failed results are uncharged.

Example result

Example record for the minimal input under How to use it, as this Actor returned it on 2026-10-28 in a run of its production image; the record is kept unchanged with the release.

{
"url": "https://raw.githubusercontent.com/python-pillow/Pillow/262e8e48229197ef08792de41a6bdd94e42219a0/Tests/images/test-card.png",
"ok": true,
"format": "webp",
"width": 640,
"height": 480,
"bytes": 11310,
"fileUrl": "file:///storage/key_value_stores/default/e6d2ef6d73d5e5ba29acdc2ddb353db4d9204f47da762b5aafb08f390bd968ad.webp"
}

How to use it

Start a run in Apify Console, by API or from an agent with an input like this one — it is the input Apify runs every day to test this Actor:

{"urls": ["https://raw.githubusercontent.com/python-pillow/Pillow/262e8e48229197ef08792de41a6bdd94e42219a0/Tests/images/test-card.png"]}

Start with the minimal JSON example above, then adjust the fields in the table below. Read the Example result and Output fields sections for the returned record, Errors for failure codes, and Events and prices for result events and the separate platform start.

FieldTypeMeaning
urlsarray1–100 URLs; PNG, JPEG and static WebP inputs only, at most 10 MB; 5 megapixels at 256 or 512 MB, 16 megapixels at 1024 or 2048 MB. A verified allocation of at least 256 MB is required. Animation refused; orientation applied, ancillary metadata dropped; no C2PA-bearing input accepted. JPEG alpha is composited on white.
outputFormatstringEncoded output format.
maxDimensionintegerFit within this box without enlarging the image.
qualityintegerJPEG and WebP encoder quality; PNG is lossless.

Events and prices

Each successful image earns exactly one event according to the original fetched source bytes, before resizing, conversion or metadata removal. KB means 1,000 bytes; MB means 1,000,000 bytes. Output file size does not set the band.

EventTitleCharged whenFREE / BRONZESILVERGOLD / PLATINUM / DIAMOND
image-convertedImage Converted (XS)One readable converted image from an original fetched source of at most 500,000 bytes.$0.002$0.0018$0.0016
image-converted-sImage Converted (S)One readable converted image from an original fetched source of more than 500,000 and at most 2,000,000 bytes.$0.003$0.0027$0.0024
image-converted-mImage Converted (M)One readable converted image from an original fetched source of more than 2,000,000 and at most 10,000,000 bytes.$0.015$0.0135$0.012

XS and S match the compared leader's source-band prices; M is priced higher. Sources over 10 MB remain unsupported and earn no result event. These are the complete custom result prices; no byte, compute, output-file or settlement fee is added. Platform usage is not passed through. Apify's automatic actor-start event remains $0.00005 per started GB (one GB or less counts once), including on a failed run. The synthetic dataset-item event is absent.

At list, one XS image costs $0.00205, one S image $0.00305, and one M image $0.01505 including a single start event at allocations up to 1024 MB. At 2048 MB the start is $0.0001, so one M image costs $0.0151. Ten XS images cost $0.02 plus actor start. Set the charge budget for the selected band and start event; the worked call below uses one XS source. A remaining budget insufficient for the actual source band stops processing before encoding/file storage, with an uncharged error. Failed images earn no conversion event. Completed readable pending events are settled on abort.

Call it from an agent

Through Apify's MCP server (https://mcp.apify.com) use call-actor:

{
"actor": "hermeskd/image-format-converter",
"input": {
"urls": [
"https://raw.githubusercontent.com/python-pillow/Pillow/262e8e48229197ef08792de41a6bdd94e42219a0/Tests/images/test-card.png"
]
},
"callOptions": {
"maxTotalChargeUsd": 0.01,
"timeout": 600
},
"waitSecs": 30
}

Then call get-dataset-items with the returned defaultDatasetId. Dedicated tool URL: https://mcp.apify.com?tools=hermeskd/image-format-converter

Output fields

FieldMeaning
urlThe caller supplied input, carried unchanged.
okTrue for a returned result; a failure is never charged.
formatOutput format.
widthOutput width in pixels.
heightOutput height in pixels.
bytesEncoded output bytes.
fileUrlReadable Apify key-value file URL for the result.
errorFailure, always uncharged.

Limits and run time

The deploy measures the actual pricing floor separately for XS, S and M before release. The resource policy preserves every supported format and quality setting: choose 1024 MB or 2048 MB for inputs above 5 megapixels. Allocation is never raised automatically; an insufficient or unverified allocation is refused without a result charge. Prior CPU-share measurements and the retained 512 MB WebP100 failure remain archived.

Complete serialized results must fit an 8 MB delivery budget, including input identity and JSON escaping. Oversized results are refused without a result charge. Invalid Unicode in failure echoes is escaped. Failure input echoes longer than 8,192 characters are shortened; blank list entries refuse the whole input without silently dropping entries.

1–100 URLs; PNG, JPEG and static WebP inputs only, at most 10 MB; 5 megapixels at 256 or 512 MB, 16 megapixels at 1024 or 2048 MB. A verified allocation of at least 256 MB is required. Animation refused; orientation applied, ancillary metadata dropped; no C2PA-bearing input accepted. JPEG alpha is composited on white.

The default run timeout is 600 seconds. Local production-image smoke on 2026-10-28: 4.71 seconds at 256 MB and one CPU (the smallest configured memory). Platform cold start, billing and pricing-floor verification remain deploy gates.

Errors

CodeMeaning
http_errorThe source answered an unsuccessful HTTP status.
download_failedThe request or connection failed within its bounded deadline.
unsupported_imageThe input is not a supported static image or is damaged.
image_too_largeSource size, decoded pixels or available memory exceeds the supported resource envelope; unverified allocation is refused without a charge.
content_credentials_presentContent credentials are present; conversion would invalidate them and is refused.
robots_disallowedrobots.txt forbids fetching the URL; no request was made to it.
blocked_hostThe host is on the deny-list or resolves to a private or local address; no request was made.
too_largeThe response exceeded the size cap.
timeoutThe input did not finish within the run's time budget.
invalid_inputThe run input passed the input schema but cannot be used; the message names the field.
internal_errorUnexpected failure; the message carries the error class.
charge_limit_reachedThe run reached its maximum total charge; this input was not processed.

No failure record is charged. A run fails only when all input outcomes are Actor-side failures; caller errors and a mixture of caller/Actor failures do not fail the run.

Sources and terms

Only process content you have the right to process. URL fetches obey HermesBot robots-group selection, the shared deny-list, public-address checks on connections and redirects, honest identity, deadlines and rate limits. No caller credentials, cookies, CAPTCHA solving, residential proxies or evasion. Caller-named images under the shared fetch policy; Pillow at 12.3.0, MIT-CMU licence. The pinned Pillow test-card input uses its permissive project licence. No face identification or metadata extraction. The M-band deploy benchmark uses NASA 3D Resources Apollo Crater imagery, stated free and without copyright by the repository, with NASA credited and no endorsement implied.

Not affiliated

This Actor is not affiliated with the source providers named here. Process only content you have the right to process.

Changelog

  • 1.0 (2026-10-28) — Initial implementation, main-path fixtures and local production-image examples verified; publication awaits the scheduled merge.