@remotion/renderer
Version:
Render Remotion videos using Node.js or Bun
14 lines (13 loc) • 928 B
TypeScript
import type { PixelFormat } from './pixel-format';
export declare const validVideoImageFormats: readonly ["png", "jpeg", "none"];
export declare const validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
export type VideoImageFormat = (typeof validVideoImageFormats)[number];
export type StillImageFormat = (typeof validStillImageFormats)[number];
/**
* @deprecated Use VideoImageFormat or StillImageFormat instead
*/
export type ImageFormat = 'This type is deprecated, use VideoImageFormat or StillImageFormat instead';
export declare const DEFAULT_VIDEO_IMAGE_FORMAT: VideoImageFormat;
export declare const DEFAULT_STILL_IMAGE_FORMAT: StillImageFormat;
export declare const validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: PixelFormat | undefined, videoImageFormat: VideoImageFormat) => "none" | "valid";
export declare const validateStillImageFormat: (imageFormat: StillImageFormat) => void;