Click or drag to resize
SoDataCompressorIsLossless Method

Returns true if the compression algorithm is lossless.

Namespace: OIV.LDM.Compressors
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public bool IsLossless()

Return Value

Type: Boolean

True if the compression is lossless.

Remarks

Caution note Caution

It allows the converter to know if it must do CRC32 on original data or decompressed data when the '-C' option is enabled. Computing CRC32 on lossy compression is more costly than on lossless compression because data must be uncompressed before applying the CRC32 in order to have the real data stored in the file. Setting the environment variable LDM_COMPRESS_CHECK_CRC32 to 1 will force the LDM reader to check data integrity.

See Also