RasterPyramidCompressionType enum

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.

Inheritance
Available extensions

Values

default_ → const RasterPyramidCompressionType

Uses the default pyramid compression for the raster.

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

deflate → const RasterPyramidCompressionType

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 → const RasterPyramidCompressionType

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 → const RasterPyramidCompressionType

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 → const RasterPyramidCompressionType

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 → const RasterPyramidCompressionType

No compression.

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

Properties

coreValue → RT_RasterPyramidCompressionType
Convert to internal value.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<RasterPyramidCompressionType>
A constant List of the values in this enum, in order of their declaration.