Skip to content

ScreenshotOutputFormat

ScreenshotOutputFormat = "png" | { quality?: number; type: "jpeg"; }

Defined in: types.ts:87

Output image format for a screenshot. 'png' is lossless (the default). 'jpeg' produces smaller files; quality (1-100, default 90) is the JPEG compression quality. This is distinct from Quality, which is the resolution preset. Videos ignore this.