AboutSupportDeveloper GuideVersion 41.129.83.2

Configuration for page capture.

interface CapturePageOptions {
    area?: Rectangle;
    format?: "png" | "bmp" | "jpg";
    quality?: number;
}

Properties

area?: Rectangle

The area of the window to be captured.

format?: "png" | "bmp" | "jpg"
'png'

The format of the captured image. Can be 'png', 'jpg', or 'bmp'.
quality?: number
100

Quality of JPEG image. Between 0 - 100.