Documentation

Image to Image Command line Examples

These examples demonstrate common Image to Image API workflows in Command line.


Basic examples

PNG file to JPEG file

image2image -user-name "demo" -api-key "demo" \
    -output-format "jpg" \
    "/path/to/logo.png" > "logo.jpg"

PNG url to JPEG file

image2image -user-name "demo" -api-key "demo" \
    -output-format "jpg" \
    "https://pdfcrowd.com/static/images/logo.png" > "logo.jpg"