22 lines
938 B
Markdown
22 lines
938 B
Markdown
|
<!-- 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)
|
||
|
|
||
|
## Protocol.HeadlessExperimental.ScreenshotParams interface
|
||
|
|
||
|
Encoding options for a screenshot.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface ScreenshotParams
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [format](./puppeteer.protocol.headlessexperimental.screenshotparams.format.md) | ('jpeg' \| 'png') | Image compression format (defaults to png). |
|
||
|
| [quality](./puppeteer.protocol.headlessexperimental.screenshotparams.quality.md) | [integer](./puppeteer.protocol.integer.md) | Compression quality from range \[0..100\] (jpeg only). |
|
||
|
|