type alias ScaledFormat

The formats a scaled copy comes in: WebP for a browser, and a JPEG or a PNG for what doesn't read it, as some mail clients don't.

Definition

"webp" | "jpg" | "png"

Usage

import { type ScaledFormat } from "api/lib/ffmpeg.ts";