Image Format Converter avatar
Image Format Converter

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Image Format Converter

Image Format Converter

Convert images in the cloud between HEIC, WebP, JPG, PNG, and SVG. Strip EXIF metadata for privacy, resize with aspect-ratio preservation, and export via direct URLs or archives (ZIP, TAR.GZ, GZIP, 7-Zip). Ideal for HEIC conversion, SVG rasterization, and standardizing image collections.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Soham Purohit

Soham Purohit

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Convert images between multiple formats with this powerful Apify Actor. Supports HEIC, WebP, JPG, PNG, and SVG with batch processing, metadata removal, resizing, and ZIP archive download.

🎯 Supported Conversions

FromTo
HEICJPG, PNG
WebPJPG, PNG
JPGPNG
PNGJPG
SVGJPG, PNG

✨ Features

  • πŸ”„ Batch Processing: Convert multiple images in a single run
  • 🌐 URL Input: Fetch images directly from URLs
  • πŸ”’ Privacy Protection: Remove EXIF, XMP, IPTC metadata (enabled by default)
  • πŸ“ Resize Support: Resize images while maintaining aspect ratio
  • πŸ“¦ ZIP Download: Get all converted images as a single ZIP archive
  • ⚑ High Performance: Uses libvips/sharp for blazing-fast processing
  • ☁️ Cloud-Based: No software installation required

πŸ“₯ Input Parameters

ParameterTypeDefaultDescription
imageUrlsArray[]URLs of images to convert (HEIC, WebP, JPG, PNG, SVG)
outputFormatString"jpg"Target format: jpg or png
qualityInteger90Output quality 1-100 (JPEG only)
outputDeliveryString"both"urls, zip, or both
removeMetadataBooleantrueStrip EXIF and other metadata for privacy
resizeWidthInteger-Resize to this width (1-10000, proportional)
resizeHeightInteger-Resize to this height (1-10000, proportional)

πŸ“€ Example Input

Basic Conversion

{
"imageUrls": [
"https://example.com/photo.heic",
"https://example.com/image.webp"
],
"outputFormat": "jpg",
"quality": 90
}

With Resize and Privacy

{
"imageUrls": [
"https://example.com/large-photo.jpg"
],
"outputFormat": "png",
"removeMetadata": true,
"resizeWidth": 800
}

Download as ZIP Only

{
"imageUrls": [
"https://example.com/img1.svg",
"https://example.com/img2.svg"
],
"outputFormat": "png",
"outputDelivery": "zip"
}

πŸ“Š Output

Converted Images

  • Individual URLs: Direct links to each converted image in key-value store
  • ZIP Archive: All images bundled as archive-converted-images.zip

Dataset Entry Example

{
"originalUrl": "https://example.com/photo.heic",
"originalFormat": "heic",
"outputFormat": "jpg",
"outputUrl": "https://api.apify.com/v2/key-value-stores/.../records/image-photo-1.jpg",
"fileSize": 125432,
"width": 1920,
"height": 1080,
"status": "success"
}

πŸ’‘ Use Cases

  • Privacy: Strip GPS coordinates and camera info from photos before sharing
  • Web Optimization: Convert HEIC from iPhones to web-friendly JPG/PNG
  • Batch Resize: Resize hundreds of images for thumbnails or social media
  • Format Standardization: Convert mixed formats to a single standard
  • SVG Rasterization: Convert vector graphics to high-quality raster images

πŸ”Œ API Integration

JavaScript/Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('YOUR_USERNAME/image-format-converter').call({
imageUrls: ['https://example.com/photo.heic'],
outputFormat: 'jpg',
quality: 95,
removeMetadata: true,
resizeWidth: 1200
});
// Get results
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("YOUR_USERNAME/image-format-converter").call(run_input={
"imageUrls": ["https://example.com/photo.heic"],
"outputFormat": "jpg",
"quality": 95,
"removeMetadata": True,
"resizeWidth": 1200
})
# Get results
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)

πŸ”§ Technical Details

ComponentTechnology
RuntimeNode.js 24 (Alpine)
LanguageTypeScript
Image Processingsharp (libvips)
HEIC Supportheic-convert
ZIP Compressionarchiver

πŸ“„ License

ISC