This page contains various examples of using the Image to PDF API with HTTP POST. The examples are complete and fully functional. Read more about how to convert Image to PDF with HTTP POST.
curl -f -u "your_username:your_apikey" \ -o "logo.pdf" \ -F "input_format=image" \ -F "output_format=pdf" \ -F "file=@/path/to/logo.png" \ https://api.pdfcrowd.com/convert/20.10/
curl -f -u "your_username:your_apikey" \ -o "logo.pdf" \ -F "input_format=image" \ -F "output_format=pdf" \ -F "url=https://pdfcrowd.com/static/images/logo.png" \ https://api.pdfcrowd.com/convert/20.10/