Click or drag to resize
SoVRLdmFileWritercompressionLevel Property

Set compression level.

Namespace: OIV.LDM.Writers
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public SoSFInt32 compressionLevel { get; }

Property Value

Type: SoSFInt32
Remarks

The meaning of this parameter depends on the type of compression used (see OIV.LDM.Writers.SoVRLdmFileWriter.compressionName): -For gzip, it must be between 0 and 9: 0 gives no compression, 9 gives best compression but slower speed. Default is 3. -For jpeg, it must be between 0 and 100: 0 gives best compression but most loss of data, 100 gives minimum compression and minimum data alteration. Default is 85.

-1 use default value of specified compressor (3 for gzip, 85 for jpeg). Default is -1.

See Also