editor/reference/screenshot.md
konstantin-paulus c1bc3f0085 Update package.json and README for consistency and clarity
Modified the "check" script in package.json to reference the correct "examples" directory. Updated the README to replace "video editor" with "media compositor" for improved accuracy and restructured some sentences for better readability. Removed outdated documentation files related to assets, CLI, composition, distribution, and getting started, streamlining the documentation for a more focused user experience.
2026-07-20 15:53:30 +02:00

892 B

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 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 with a uuid filename, plus the image's pixel dimensions.

{ path: string, width: number, height: number }

Errors

Exits non-zero if the app is not running.