The options used for image URLs that may be animated.

interface ImageURLOptions {
    extension?: "jpeg" | "png" | "webp" | "gif" | "jpg";
    forceStatic?: boolean;
    size?: ImageSize;
}

Hierarchy (View Summary)

Properties

extension?: "jpeg" | "png" | "webp" | "gif" | "jpg"

The extension to use for the image URL.

'webp'

forceStatic?: boolean

Whether to prefer the static asset.

size?: ImageSize

The size specified in the image URL.