Class TileCompressor

    • Field Detail

      • forceNoLoss

        private boolean forceNoLoss
    • Method Detail

      • run

        public void run()
      • compactCompressedData

        private void compactCompressedData()
        lets close the gaps in the data as soon as the previous tiles are also compressed. the compressed data of the first tile is used to append the complete block.
      • compress

        private void compress()
      • replaceCompressedBufferWithTargetArea

        private void replaceCompressedBufferWithTargetArea​(java.nio.ByteBuffer compressedWholeArea)
      • forceNoLoss

        protected void forceNoLoss​(boolean value)
        Description copied from class: TileCompressionOperation
        should the data of this tile be forced to case no data loss. This information is not relevant in all cases that it is ignored by default.
        Overrides:
        forceNoLoss in class TileCompressionOperation
        Parameters:
        value - the value to set.