property ScalableImage.compat

The format of its copy for a reader without WebP: a JPEG, or a PNG for an image that may be transparent, which a JPEG would fill with black.

Type

"jpg" | "png"

Usage

import { type ScalableImage } from "api/lib/upload.ts";