Module frame_ui

Source
Expand description

“Export Frame” window: save the frame at the playhead as an image. Options: resolution (Project / 2x / 4x / Custom W x H), upscaling mode (Scaler for the render plus the ffmpeg flag for the final resize), format (PNG / JPG / WebP with a quality slider for the lossy ones), and “Render with effects” vs “Source frame only” (the decoded frame of the top-most clip under the playhead, no compositing). Non-modal; returns the chosen options when the user confirms.

Structs§

FrameExport
FrameUi

Constants§

FORMATS 🔒
PRESETS 🔒

Functions§

init 🔒
lossy 🔒
pick 🔒
show
size_of 🔒
Output size for a preset. custom is clamped to something ffmpeg will accept.
stored_resolution 🔒
What settings.frame_resolution remembers: a preset name, or “WxH” for a custom size (init parses both — storing the literal “custom” would lose the size).