AboutSupportDeveloper GuideVersion 38.126.82.64

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"

Default Value

'png'

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

Default Value

100

Quality of JPEG image. Between 0 - 100.