tinyimg - v1.0.0
    Preparing search index...

    Interface RawImage

    Decoded samples, with the extent they describe.

    interface RawImage {
        channels: number;
        height: number;
        pixels: Uint8Array<ArrayBuffer>;
        width: number;
    }
    Index
    channels: number

    Bytes per pixel, 1 through 4.

    height: number

    Height in pixels.

    pixels: Uint8Array<ArrayBuffer>

    width * height * channels bytes, rows tightly packed.

    width: number

    Width in pixels.