UNPKG

@remotion/renderer

Version:

Render Remotion videos using Node.js or Bun

19 lines (18 loc) 689 B
import type { TRenderAsset } from 'remotion/no-react'; import type { Page } from './browser/BrowserPage'; import type { StillImageFormat, VideoImageFormat } from './image-format'; export declare const takeFrame: ({ freePage, imageFormat, jpegQuality, frame, width, height, output, scale, wantsBuffer, timeoutInMilliseconds, }: { freePage: Page; imageFormat: VideoImageFormat | StillImageFormat; jpegQuality: number | undefined; frame: number; height: number; width: number; output: string | null; scale: number; wantsBuffer: boolean; timeoutInMilliseconds: number; }) => Promise<{ buffer: Buffer | null; collectedAssets: TRenderAsset[]; }>;