---
title: "<code class=\"docutils literal notranslate\"><span class=\"pre\">pbl</span> <span class=\"pre\">screenshot</span></code>"
canonical_url: https://developer.repebble.com/pebbleos/docs/pbl/screenshot/
last_updated: 2026-10-21
sdk_version: 4.33.1
---
# <code class="docutils literal notranslate"><span class="pre">pbl</span> <span class="pre">screenshot</span></code>

Source: https://developer.repebble.com/pebbleos/docs/pbl/screenshot/

Capture the running emulator’s screen to a PNG, through the QEMU socket monitor.

```
pbl screenshot# build/screenshot.pngpbl screenshot --output /tmp/foo.png
```

## Options

```
pbl screenshot [-h] [-b DIR] [--dry-run] [-o OUTPUT]
```

`-o, --output OUTPUT`

Where to write the PNG (default: screenshot.png in the build)

Generated from PebbleOS [3a7b71785](https://github.com/coredevices/pebbleos/commit/3a7b71785fd439666c4a8bc116f561140e8dec01). This page is maintained in the pebbleos repository: [docs/pbl/screenshot.md](https://github.com/coredevices/pebbleos/blob/3a7b71785fd439666c4a8bc116f561140e8dec01/docs/pbl/screenshot.md).
