Image to Image in Command Line

This page describes how to convert between images formats from the command line using the Pdfcrowd API.

Samples

Installation

Install the application from PyPI
pip install pdfcrowd

We also offer other installation options.

Authentication

Authentication is needed in order to use the Pdfcrowd API. The credentials used for accessing the API are your Pdfcrowd username and the API key.

To get your personal API credentials, you can start a free API trial or buy the API license.

Examples

image2image -user-name "your_username" -api-key "your_apikey" \
    -output-format "jpg" \
    "/path/to/logo.png" > "logo.jpg"
image2image -user-name "your_username" -api-key "your_apikey" \
    -output-format "jpg" \
    "https://pdfcrowd.com/static/images/logo.png" > "logo.jpg"

Troubleshooting

  • List of API Status Codes if an error code is returned.
  • You can use -debug-log to get detailed info about the conversion, such as conversion errors, time, console output.
  • Take a look at the FAQ section.
  • Are you missing a feature? Contact us, we look forward to your suggestions.

User Manual

Refer for details to the User Manual.