geotrellis.raster.io.geotiff.compression.NoCompression.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-raster_2.10 Show documentation
Show all versions of geotrellis-raster_2.10 Show documentation
GeoTrellis is an open source geographic data processing engine for high performance applications.
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