RasterPyramidCompressionType

An enumeration of the various types of compression used when creating or describing raster pyramids. Use this enumeration with BuildRasterPyramidsParameters.compressionType to specify the compression requested when building pyramids.

Support depends on the raster format and pixel type. File-based rasters that support pyramids in a pyramid file (.ovr) can generally request these values. JPEG-based compression is generally appropriate only for compatible imagery where smaller file size is more important than preserving exact pixel values.

Since

300.1.0

Inheritors

Types

Link copied to clipboard

Uses the default pyramid compression for the raster. The default compression is determined by the runtime based on the raster.

Link copied to clipboard

Deflate compression. Deflate is a lossless compression method that combines LZ77-style matching with Huffman coding. It preserves original pixel values and is a good general-purpose option for TIFF, GeoTIFF, and overview files.

Link copied to clipboard

JPEG compression. JPEG compression is lossy and is intended for imagery where smaller file size is more important than preserving exact pixel values. It is not ideal for classified or analytical rasters.

Link copied to clipboard

JPEG compression with YCbCr color space. JPEG YCbCr compression separates brightness from color components. It is commonly used for compatible RGB imagery and often produces smaller files than standard RGB JPEG compression while maintaining good visual quality.

Link copied to clipboard

LZW compression. LZW is a lossless, dictionary-based compression method derived from the Lempel-Ziv-Welch algorithm. It preserves original pixel values and is commonly used with TIFF and GeoTIFF rasters.

Link copied to clipboard

No compression. This value requests uncompressed pyramids. It can be useful when avoiding compression artifacts or compatibility issues, but typically creates larger pyramid files.