Interface: DecodedImage
Defined in: packages/wasm/dist/types.d.ts:11
Result of decoding a container into pixels.
Extends
Properties
data
readonlydata:Uint8Array
Defined in: packages/wasm/dist/types.d.ts:8
Inherited from
height
readonlyheight:number
Defined in: packages/wasm/dist/types.d.ts:7
Inherited from
icc?
readonlyoptionalicc?:Uint8Array<ArrayBufferLike>
Defined in: packages/wasm/dist/types.d.ts:19
The ICC profile the container carried, as stored. Pass it to encode so the output keeps it; the pixels are not colour managed and mean the same only with their profile. Absent when the source declared none.
mimeType
readonlymimeType:string
Defined in: packages/wasm/dist/types.d.ts:13
Container the bytes came from, e.g. image/png.
width
readonlywidth:number
Defined in: packages/wasm/dist/types.d.ts:6