Image Converter avatar

Image Converter

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Image Converter

Image Converter

A 6-in-1 image processing actor that converts, compresses, and exports images at scale.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

23 days ago

Last modified

Share

๐Ÿ–ผ๏ธ Image Converter โ€” Apify Actor

A 6-in-1 image processing actor that converts, compresses, and exports images at scale.

Operations

OperationDescription
jpg_to_pngJPG/JPEG โ†’ PNG (lossless)
png_to_jpgPNG โ†’ JPG (handles transparency)
webp_to_pngWebP โ†’ PNG
jpg_to_webpJPG โ†’ WebP (smaller files)
any_to_webpAny format โ†’ WebP
heic_to_jpgHEIC/HEIF โ†’ JPG (iPhone photos)
to_base64Image โ†’ Base64 data URI
to_pdfImage โ†’ PDF document
compressSmart compression with target size

Input Examples

Basic Format Conversion

{
"operation": "jpg_to_png",
"imageUrls": [
"https://example.com/photo1.jpg",
"https://example.com/photo2.jpg"
]
}

Smart Compression (target 200KB)

{
"operation": "compress",
"imageUrls": ["https://example.com/large-photo.jpg"],
"quality": 85,
"targetSizeKb": 200,
"maxWidth": 1920,
"maxHeight": 1080
}

Batch WebP Conversion

{
"operation": "any_to_webp",
"imageUrls": [
"https://example.com/banner.png",
"https://example.com/hero.jpg",
"https://example.com/thumb.bmp"
],
"quality": 80
}

Image to PDF

{
"operation": "to_pdf",
"imageUrls": ["https://example.com/scan.jpg"],
"pdfPageSize": "Letter"
}

Output

Each processed image produces a dataset record:

{
"sourceUrl": "https://example.com/photo.jpg",
"operation": "compress",
"inputFilename": "photo.jpg",
"outputFilename": "photo.jpg",
"inputSize": 2456789,
"inputSizeHuman": "2.3 MB",
"outputSize": 198432,
"outputSizeHuman": "193.8 KB",
"sizeReductionPercent": 91.9,
"kvsKey": "photo_a1b2c3d4.jpg",
"downloadUrl": "https://api.apify.com/v2/key-value-stores/.../records/photo_a1b2c3d4.jpg",
"status": "success"
}

Converted files are saved to the Key-Value Store for direct download.

Local Development

# Install dependencies
pip install -r requirements.txt
# Run locally with Apify CLI
apify run --input '{"operation":"compress","imageUrls":["https://picsum.photos/800/600.jpg"],"quality":75}'