Penpot plugins API
    Preparing search index...

    Interface Export

    Represents export settings in Penpot. This interface includes properties for defining export configurations.

    interface Export {
        type: "svg" | "png" | "jpeg" | "webp" | "pdf";
        scale?: number;
        suffix?: string;
        skipChildren?: boolean;
    }
    Index

    Properties

    type: "svg" | "png" | "jpeg" | "webp" | "pdf"

    Type of the file to export. Can be one of the following values: png, jpeg, webp, svg, pdf

    scale?: number

    For bitmap formats represent the scale of the original size to resize the export

    suffix?: string

    Suffix that will be appended to the resulting exported file

    skipChildren?: boolean

    If true will ignore the children when exporting the shape