Interface ImageDecoder
interface ImageDecoder {
complete: boolean;
completed: Promise<void>;
tracks: ImageTrackList;
type: string;
close(): void;
decode(options?: ImageDecodeOptions): Promise<ImageDecodeResult>;
reset(): void;
}
complete: boolean;
completed: Promise<void>;
tracks: ImageTrackList;
type: string;
close(): void;
decode(options?: ImageDecodeOptions): Promise<ImageDecodeResult>;
reset(): void;
}
Methods
close
decode
- decode(options?): Promise<ImageDecodeResult>
Parameters
Optional
options: ImageDecodeOptions
Returns Promise<ImageDecodeResult>
Available only in secure contexts.