Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.SystemInfo.ImageDecodeAcceleratorCapability
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { ImageDecodeAcceleratorCapability } = Protocol.SystemInfo;

Describes a supported image decoding profile with its associated minimum and maximum resolutions and subsampling.

Properties

imageType: ImageType

Image coded, e.g. Jpeg.

maxDimensions: Size

Maximum supported dimensions of the image in pixels.

minDimensions: Size

Minimum supported dimensions of the image in pixels.

subsamplings: SubsamplingFormat[]

Optional array of supported subsampling formats, e.g. 4:2:0, if known.