Screenshotly supports multiple output formats. Choose the one that best fits your use case.Documentation Index
Fetch the complete documentation index at: https://docs.screenshotly.dev/llms.txt
Use this file to discover all available pages before exploring further.
Supported formats
| Format | Best for | Transparency | Compression |
|---|---|---|---|
| PNG | UI screenshots, pixel-perfect captures | Yes | Lossless |
| JPEG | Photos, large pages, smaller file sizes | No | Lossy |
| WebP | Web delivery, best size-to-quality ratio | Yes | Both |
| Printable documents | N/A | N/A |
Setting the format
png.
Quality settings
For JPEG, WebP, and PDF formats, use theimage_quality parameter to control compression. The value is an integer between 0 and 100 (default: 80):
| Quality range | File size | Visual quality |
|---|---|---|
| 90–100 | Large | Highest fidelity |
| 70–89 | Medium | Good for most uses |
| 50–69 | Small | Noticeable artifacts |
| Below 50 | Smallest | Significant quality loss |
The
image_quality parameter has no effect on PNG format since PNG uses lossless compression.Transparent backgrounds
For PNG and WebP formats, useomit_background to remove the default white background:
PDF output
Screenshotly supports PDF output by settingformat to pdf:
Choosing a format
- Use PNG when you need transparency or pixel-perfect accuracy
- Use JPEG at quality 75–85 for the best balance of size and quality
- Use WebP for web delivery where browser support is available
- Use PDF when you need a printable document format

