gis-tools-ts - v0.6.0
    Preparing search index...

    Function applyPredictor

    • Apply the specified predictor to a block

      Parameters

      • block: ArrayBufferLike

        the block to modify

      • predictor: number

        the predictor

      • width: number

        the block width

      • height: number

        the block height

      • bitsPerSample: number[]

        the number of bits per sample

      • planarConfiguration: number

        the planar configuration

      Returns ArrayBufferLike

      • the modified block