Interface ImageDecoder

    Available only in secure contexts.

    interface ImageDecoder {
        complete: boolean;
        completed: Promise<void>;
        tracks: ImageTrackList;
        type: string;
        close(): void;
        decode(options?: ImageDecodeOptions): Promise<ImageDecodeResult>;
        reset(): void;
    }

    Properties

    complete: boolean
    completed: Promise<void>
    type: string

    Methods

    • Returns void

    • Returns void