Image to Image HTTP API Examples
These examples demonstrate common Image to Image API workflows via HTTP API.
Basic examples
PNG file to JPEG file
curl -f -u "demo:demo" \ -o "logo.jpg" \ -F "input_format=image" \ -F "output_format=jpg" \ -F "file=@/path/to/logo.png" \ https://api.pdfcrowd.com/convert/24.04/
PNG url to JPEG file
curl -f -u "demo:demo" \ -o "logo.jpg" \ -F "input_format=image" \ -F "output_format=jpg" \ -F "url=https://pdfcrowd.com/static/images/logo.png" \ https://api.pdfcrowd.com/convert/24.04/