Interface ImageDataInput

Necessary data to encode an image

interface ImageDataInput {
    height: number;
    image: ArrayBuffer | Uint8Array | Buffer;
    name: string;
    type: ImageTypeString;
    width: number;
}

Properties

height: number

The height of the image

image: ArrayBuffer | Uint8Array | Buffer

The raw image data

name: string

The name of the image

The image type

width: number

The width of the image