[]previous and next page

ImageFormat

The output formats the optimizer knows.

The output formats the optimizer knows. original keeps the source's format.

Import#

ts
import type { ImageFormat } from "@shadow-js/dusk";

Signature#

ts
type ImageFormat = "original" | "webp" | "avif" | "jpeg" | "png"