This page contains various examples of using the Image to PDF API in Command Line. The examples are complete and fully functional. Read more about how to convert Image to PDF in Command Line.
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"