Convert Image to PDF and PDF to Image

Convert Image to PDF and PDF to Image

by akash9078

Automate image-to-PDF and PDF-to-image conversion. Perfect for digitizing documents, processing user uploads, or extracting images from PDFs at scale.

721 runs
22 users
Try This Actor

Opens on Apify.com

About Convert Image to PDF and PDF to Image

Need to batch convert a folder of scanned receipts into a single PDF for an expense report? Or maybe you've got a PDF manual and you need to pull out all the diagrams as separate image files? That's exactly what this actor is for. It handles the tedious conversion work between images and PDFs, so you don't have to. You can feed it common image formats like JPG, PNG, or BMP and get a clean, high-quality PDF document back. Flip it around, and it will reliably extract every image from a PDF file for you in seconds. I use it to organize client assets, prepare print-ready documents from design mockups, and archive old paper forms by snapping pictures and turning them into a searchable digital file. It runs fast, doesn't require any special software on your end, and just works. If your project involves automating document workflows, processing user uploads, or digitizing paperwork, this is a straightforward, reliable solution to add to your toolkit.

What does this actor do?

Convert Image to PDF and PDF to Image is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Convert Image to PDF and PDF to Image

This Apify Actor converts between image files (JPEG, PNG, BMP) and PDF documents. It handles batch processing, supports high-resolution output, and can add watermarks.

Key Features

  • Bidirectional Conversion: Convert images to a single PDF or extract images from PDF pages.
  • High-Quality Output: Configure DPI (default 300) and quality (1-100) for crisp images and optimized file sizes.
  • Batch & Merge Options: Process multi-page PDFs. Choose to output individual images per page or merge all pages into a single composite image.
  • Custom Watermarking: Add text watermarks with control over opacity, position, color, and font size.
  • Cloud Storage Support: Fetch files directly from public URLs, Google Drive, or Dropbox.

How to Use

Provide a direct URL to your source file and configure the conversion. The Actor will process the file and return the converted output for download via the Apify platform.

Input Parameters

Configure the Actor using an input object with the following fields:

Field Type Description
url String Required. The direct URL to the image or PDF file.
conversionDirection String Conversion type. Use auto (detects file type), imageToPdf, or pdfToImages.
quality Number Output quality from 1 (lowest) to 100 (best). Affects both image and PDF output.
resolution Number DPI for PDF-to-image conversion (default: 300). Higher values increase sharpness and file size.
scale Number Rendering scale factor for PDF-to-image conversion (default: 3.0). Use >2.0 for high OCR quality.
mergeOutput Boolean For PDF-to-image conversion. Set true to merge all pages into one image; false outputs separate files per page.
watermark Object Optional. Add a text watermark. Configure text, opacity (0-1), fontSize, color, and position (e.g., center, top-left).

Example Input:

{
  "url": "https://www.example.com/document.pdf",
  "conversionDirection": "auto",
  "quality": 90,
  "resolution": 300,
  "mergeOutput": false,
  "watermark": {
    "text": "Confidential",
    "opacity": 0.5,
    "position": "center"
  }
}

Output

The Actor's run dataset contains the converted file(s). For imageToPdf conversions, you'll receive a single PDF. For pdfToImages conversions, you'll receive either one image (if mergeOutput is true) or a ZIP archive containing separate image files for each page. Download links are provided in the Apify console.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Convert Image to PDF and PDF to Image now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
akash9078
Pricing
Paid
Total Runs
721
Active Users
22
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support