2020-07-13 13:01:35 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [HeadlessExperimental](./puppeteer.protocol.headlessexperimental.md) > [ScreenshotParams](./puppeteer.protocol.headlessexperimental.screenshotparams.md) > [format](./puppeteer.protocol.headlessexperimental.screenshotparams.format.md)
|
|
|
|
|
|
|
|
## Protocol.HeadlessExperimental.ScreenshotParams.format property
|
|
|
|
|
2020-07-20 15:17:06 +00:00
|
|
|
Image compression format (defaults to png). (ScreenshotParamsFormat enum)
|
2020-07-13 13:01:35 +00:00
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
format?: ('jpeg' | 'png');
|
|
|
|
```
|