This page describes how to convert images to PDF from the command line using the Pdfcrowd API.
pip install pdfcrowd
We also offer other installation options.
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.
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-log
to get detailed info about the conversion, such as
conversion errors, time, console output.
Refer for details to the User Manual.