<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [ScreenshotOptions](./puppeteer.screenshotoptions.md) &gt; [encoding](./puppeteer.screenshotoptions.encoding.md)

## ScreenshotOptions.encoding property

Encoding of the image.

<b>Signature:</b>

```typescript
encoding?: 'base64' | 'binary';
```