Enum RasterPyramidCompressionType
An enumeration of the various types of compression used when creating or describing raster pyramids.
Namespace: Esri.ArcGISRuntime.Rasters
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum RasterPyramidCompressionType
Remarks
Use this enumeration with 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.
Fields
| Name | Description |
|---|---|
| Default | Uses the default pyramid compression for the raster. The default compression is determined by the runtime based on the raster. |
| Deflate | 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. |
| Jpeg | 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. |
| JpegYCbCr | 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. |
| Lzw | 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. |
| None | No compression. This value requests uncompressed pyramids. It can be useful when avoiding compression artifacts or compatibility issues, but typically creates larger pyramid files. |
Applies to
| Target | Versions |
|---|---|
| .NET | 300.1 |
| .NET Windows | 300.1 |
| .NET Android | 300.1 |
| .NET iOS | 300.1 |