Switchboard Canvas

format

You can specify the type of the generated image using the format property.

Valid values are png, jpeg, jpg, pdf.

When the format is set to jpg or jpeg, the quality property can be used to set the JPEG quality. Use a value between 0 and 1.

PDF Support BETA

Switchboard Canvas can create a PDF document from your template.

Simply set the format property to pdf and the resulting document will be in PDF format.

{
    "template": "sample-text",
    "sizes": [
        {
            "width": 1080,
            "height": 1080,
        }
    ],
    "format": "pdf"
}

We care about the protection of your data. Read our Privacy Policy.

© 2022 switchboard.ai. All rights reserved.
Privacy Terms Cookies