Output Options

Configure the output format and quality of your screenshots.

Format

Choose the output format:

{
  "output": {
    "format": "png"
  }
}
Format Description
png Lossless, supports transparency (default)
jpeg Smaller file size, no transparency
webp Modern format, best compression
pdf PDF document output

Quality

Set image quality for JPEG and WebP formats (1-100):

{
  "output": {
    "format": "jpeg",
    "quality": 85
  }
}

Full Page

Capture the entire scrollable page:

{
  "output": {
    "full_page": true
  }
}

Element Capture

Capture a specific element:

{
  "capture": {
    "selector": "#hero-section"
  }
}

Clip Region

Capture a specific region:

{
  "capture": {
    "clip": {
      "x": 0,
      "y": 0,
      "width": 800,
      "height": 600
    }
  }
}

Was this page helpful?