browser-image
    Preparing search index...

    Interface RasterToImageDataOptions

    Options for rasterToImageData.

    interface RasterToImageDataOptions {
        stretch?: AutoStretchOptions | RasterStretch;
    }
    Index

    How raw values become 0-255: a fixed RasterStretch, or the options of an automatic stretch computed from the raster itself (default: percentClip, 0.5 % at each end). For tiles of one picture, compute one stretch from merged histograms and pass it to every tile.