Canva · Schema

PngExportFormat

PNG export format options

AppsAutomationBrand ManagementCollaborationDesignGraphicsMarketingPrintTemplatesVisual Content

Properties

Name Type Description
type string
export_quality string
width integer Output width in pixels
height integer Output height in pixels
lossless boolean Whether to use lossless compression
transparent_background boolean Whether to use a transparent background
as_single_image boolean Whether to export all pages as a single image
pages array Page indices to export
View JSON Schema on GitHub

JSON Schema

canva-connect-png-export-format-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PngExportFormat",
  "type": "object",
  "description": "PNG export format options",
  "properties": {
    "type": {
      "type": "string"
    },
    "export_quality": {
      "type": "string"
    },
    "width": {
      "type": "integer",
      "description": "Output width in pixels"
    },
    "height": {
      "type": "integer",
      "description": "Output height in pixels"
    },
    "lossless": {
      "type": "boolean",
      "description": "Whether to use lossless compression"
    },
    "transparent_background": {
      "type": "boolean",
      "description": "Whether to use a transparent background"
    },
    "as_single_image": {
      "type": "boolean",
      "description": "Whether to export all pages as a single image"
    },
    "pages": {
      "type": "array",
      "description": "Page indices to export"
    }
  }
}