This page describes how to use our cloud-based API to convert images to PDF from the command line.
pip install pdfcrowd
We also offer other installation options.
The credentials to access the API are your Pdfcrowd username and the API key.
Refer to the Image to PDF Command Line Reference Manual for a description of all command line options.
Here are a few Command Line examples to get you started quickly with the API. See more examples.
image2pdf -user-name "your_username" -api-key "your_apikey" \ "/path/to/logo.png" > "logo.pdf"
image2pdf -user-name "your_username" -api-key "your_apikey" \ "https://pdfcrowd.com/static/images/logo.png" > "logo.pdf"
-debug-logto get detailed info about the conversion, such as load errors, load times, browser console output, etc.