AboutSupportDeveloper GuideVersion 33

Type alias ImageFormatOptions

ImageFormatOptions: {
    format: "dataURL" | "png" | "bmp";
} | {
    format: "jpg";
    quality?: number;
}

Type declaration

  • format: "dataURL" | "png" | "bmp"

Type declaration

  • format: "jpg"
  • Optional quality?: number

    Must be between 0-100, defaults to 100 if out of bounds or not specified