static preview frame on slider release

This commit is contained in:
2026-05-12 01:51:32 +03:00
parent 27d7453ea2
commit 2aeb08977b
4 changed files with 130 additions and 0 deletions
+2
View File
@@ -123,6 +123,8 @@ export const api = {
getOverlayRect: () => invoke<CaptureRect>("get_overlay_rect"),
extractThumbnails: (fps: number) =>
invoke<string[]>("extract_thumbnails", { fps }),
renderPreview: (format: Format, fps: number, target_bytes: number) =>
invoke<string>("render_preview", { request: { format, fps, target_bytes } }),
defaultOutputPath: (format: Format) =>
invoke<string>("default_output_path", { format }),
openUrl: (url: string) => invoke<void>("open_url", { url }),