editor/reference/screenshot.md
konstantin-paulus 4e47a7d00f Enhance media frame and node capture functionality with timecoded images
Updated the MediaFrameResult and NodeCaptureResult types to utilize a new TimecodedImage format, which includes timecodes for better clarity. Introduced options for combining frames into contact sheets and specifying frames per sheet, enhancing the output structure. Adjusted related functions and documentation to reflect these changes, improving user understanding of the output format and capabilities.
2026-07-31 10:43:34 +02:00

22 lines
871 B
Markdown

# `dapi screenshot`
Captures the entire application window as a PNG: the full UI as the user sees it (panels, timeline, asset library, canvas viewport), at the window's current size. Use it to check what the app itself looks like; to render a node or scene cleanly for composition checks use [`node capture`](./node/capture.md) instead.
The shot is taken from the app's own window buffer, so it works even when the window is hidden (launched with `open --background`) or covered by other windows, and never includes anything outside the app.
## Options
- `-o, --output <dir>`: directory to write the PNG into (default: the system temp directory)
## Output
One JSON object: the absolute path to a freshly written PNG, plus the image's pixel dimensions.
```ts
{ path: string, width: number, height: number }
```
## Errors
Exits non-zero if the app is not running.