Interface ImageDataInput

Necessary data to encode an image

interface ImageDataInput {
    height: number;
    image: Buffer;
    type: ImageTypeString;
    width: number;
}

Properties

Properties

height: number

The height of the image

image: Buffer

The raw image data

The image type

width: number

The width of the image