@samatawy/diagrams
    Preparing search index...

    Function supportsCanvasMimeType

    • Checks whether a canvas encoder supports a given MIME type.

      Parameters

      • canvas: HTMLCanvasElement

        Source canvas.

      • mimeType: string

        MIME type to test.

      Returns boolean

      True when the MIME type is supported.