open-vector-tile - v1.8.0
    Preparing search index...

    Interface ImageDataInput

    Necessary data to encode an image

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

    Properties

    height: number

    The height of the image

    image: ArrayBuffer | Uint8Array<ArrayBufferLike> | Buffer<ArrayBufferLike>

    The raw image data

    name: string

    The name of the image

    The image type

    width: number

    The width of the image