Click or drag to resize
SoConverterParametersSetCompressionLevel Method

Set compression level.

Namespace: OIV.LDM.Converters
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetCompressionLevel(
	int compressionLevel
)

Parameters

compressionLevel
Type: SystemInt32
Remarks

Like the -l command line argument. See also OIV.LDM.Converters.SoConverterParameters.SetCompressionName(System.String). The meaning of this parameter depends on the type of compression used:

  • gzip Level must be between 0 and 9: 0 gives no compression, 9 gives best compression but slower speed. Default is 3.

  • jpeg: Level 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.

See Also