browser-image
    Preparing search index...

    Raster pixels, band-interleaved: bands values per pixel, row by row from the top left (the layout of a GeoTIFF read with interleave: true and of OpenLayers data tiles).

    interface Raster {
        data: ArrayLike<number>;
        width: number;
        height: number;
        bands?: number;
        select?: readonly [number] | readonly [number, number, number];
        alpha?: boolean;
        noData?: number | null;
    }

    Hierarchy (View Summary)

    Index
    data: ArrayLike<number>

    width * height * bands values, of any numeric type.

    width: number

    Width in pixels.

    height: number

    Height in pixels.

    bands?: number

    Values per pixel, alpha included. Default 1.

    select?: readonly [number] | readonly [number, number, number]

    Which bands make the picture: one index for a gray image, three for R, G, B (0-based). Default: band 0 when there is one color band, else bands 0, 1, 2.

    alpha?: boolean

    True when the last band is alpha: 0 is transparent, any other value opaque. Default false.

    noData?: number | null

    Value that marks pixels with no data; they become transparent. NaN always does.