DetectOptions.widths
property · packages/media/src/unpic/index.ts:15
readonly widths?: Widths.Widths | undefinedThe widths offered: Widths.standard unless given.
Media / foldkit-media/unpic
interface · packages/media/src/unpic/index.ts:13
interface DetectOptions {
readonly widths?: Widths.Widths | undefined
readonly sources?: ReadonlyArray<Format> | undefined
readonly fallback?: Encoding | undefined
readonly quality?: number | undefined
}DetectOptions.widthsproperty · packages/media/src/unpic/index.ts:15
readonly widths?: Widths.Widths | undefinedThe widths offered: Widths.standard unless given.
DetectOptions.sourcesproperty · packages/media/src/unpic/index.ts:20
readonly sources?: ReadonlyArray<Format> | undefinedFormats offered as sources, most preferred first. None unless given: the
img asks for auto, and the host picks the format from Accept.
DetectOptions.fallbackproperty · packages/media/src/unpic/index.ts:22
readonly fallback?: Encoding | undefinedWhat the img asks for: auto unless given.
DetectOptions.qualityproperty · packages/media/src/unpic/index.ts:24
readonly quality?: number | undefinedThe encoder's quality, where the host takes one.