All Downloads are FREE. Search and download functionalities are using the official Maven repository.

geotrellis.raster.io.geotiff.compression.NoCompression.scala Maven / Gradle / Ivy

Go to download

GeoTrellis is an open source geographic data processing engine for high performance applications.

There is a newer version: 0.10.3
Show newest version
package geotrellis.raster.io.geotiff.compression

import geotrellis.raster.io.geotiff.tags.codes.CompressionType._

object NoCompression extends Compression with Compressor with Decompressor {
  def code = Uncompressed

  def createCompressor(segmentCount: Int) = NoCompression
  def createDecompressor() = NoCompression
  def compress(bytes: Array[Byte], sectionIndex: Int): Array[Byte] = { bytes }
  def decompress(bytes: Array[Byte], sectionIndex: Int): Array[Byte] = { bytes }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy