Adobe Illustrator · JSON Structure

Adobe Illustrator Scripting Export Options Structure

ExportOptions from Adobe Illustrator API

Type: object Properties: 8 Required: 2
Creative CloudDesignIllustratorVector Graphics

ExportOptions is a JSON Structure definition published by Adobe Illustrator, describing 8 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

filePath format artboardRange horizontalScale verticalScale resolution antiAliasing transparency

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-illustrator/refs/heads/main/json-structure/adobe-illustrator-scripting-export-options-structure.json",
  "name": "ExportOptions",
  "description": "ExportOptions from Adobe Illustrator API",
  "type": "object",
  "properties": {
    "filePath": {
      "type": "string",
      "description": "File path for the exported file.",
      "example": "/path/to/file.ai"
    },
    "format": {
      "type": "string",
      "description": "Export format.",
      "enum": [
        "PNG8",
        "PNG24",
        "JPEG",
        "SVG",
        "PDF",
        "TIFF",
        "GIF",
        "AutoCAD",
        "Flash",
        "Photoshop"
      ],
      "example": "PNG8"
    },
    "artboardRange": {
      "type": "string",
      "description": "Range of artboards to export (e.g., \"1-3\" or \"1,3,5\"). Empty string exports all artboards.",
      "default": "",
      "example": "example_value"
    },
    "horizontalScale": {
      "type": "double",
      "description": "Horizontal scaling factor as a percentage.",
      "default": 100,
      "example": 72.0
    },
    "verticalScale": {
      "type": "double",
      "description": "Vertical scaling factor as a percentage.",
      "default": 100,
      "example": 72.0
    },
    "resolution": {
      "type": "double",
      "description": "Export resolution in PPI.",
      "default": 72,
      "example": 72.0
    },
    "antiAliasing": {
      "type": "boolean",
      "description": "Whether to use anti-aliasing.",
      "default": true,
      "example": true
    },
    "transparency": {
      "type": "boolean",
      "description": "Whether to preserve transparency.",
      "default": true,
      "example": true
    }
  },
  "required": [
    "filePath",
    "format"
  ]
}