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.
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 conversion errors, time, console output.
Refer for details to the User Manual.