PDF to Image Command Line Tool

Overview

The PDFCrowd command line client provides access to the PDF to Image API from scripts and terminals.

Installation

Quick Start

The examples below cover the basic conversion flow. See additional examples for more scenarios.

For a multi-page PDF, the API returns a ZIP archive containing an image for each page. For a single-page PDF, the output is directly an image (e.g., PNG). You can enforce the use of a ZIP archive by using -force_zip.

Authentication

The API requires authentication using your PDFCrowd username and API key. To get started quickly, you can use these demo credentials for testing:

  • Username: demo
  • API key: demo

Use your own PDFCrowd username and API key for production. You can obtain API credentials from a free trial or API license.

Troubleshooting

  • If you are receiving an error, refer to the API Status Codes for more information.
  • Use -debug-log to obtain detailed information about the conversion process, including load errors, load times, browser console output, etc.
  • Consult the FAQ for answers to common questions.
  • Contact us if you need assistance or if there is a feature you are missing.