Enum CompressionParameterKey#

Enum Documentation#

enum class libCZI::CompressionParameterKey#

Values that represent well-known keys for the compression-parameters property bag. Note that the property-bag API is modeled with an int as key, which is by intention in order to allow for private keys.

Values:

enumerator ZSTD_RAWCOMPRESSIONLEVEL#

This gives the “raw” zstd compression level aka “ExplicitLevel” (type: int32). If value is out-of-range, it will be clipped. This parameter is used with “zstd0” and “zstd1” compression schemes.

enumerator ZSTD_PREPROCESS_DOLOHIBYTEPACKING#

Whether to do the “lo-hi-byte-packing” preprocessing (type: boolean). This parameter is used with the “zstd1” compression scheme only.

enumerator JXRLIB_QUALITY#

The quality parameter for the jxrlib encoder (type: uint32). The range is from 0 to 1000, where 1000 gives the best quality (i.e. loss-less compression). This parameter is used with the “jxrlib” compression scheme only. If value is out-of-range, it will be clipped.