This page describes how to convert images to PDF from the command line using the cloud-based Pdfcrowd API.
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"