Click or drag to resize
SoConverterParametersSetCompressionName Method

Set compression name.

Namespace: OIV.LDM.Converters
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public bool SetCompressionName(
	string compressionName
)

Parameters

compressionName
Type: SystemString

Return Value

Type: Boolean
Remarks

Like the -c command line argument. See also setCompressionLevel(). The following compression types are currently supported:.

  • gzip: This is a lossless compression and can be used on any type of data. See SoGzipDataCompressor.

  • jpeg: This is a lossy compression. See SoJpegDataCompressor. Limitation: Can only be used on 8-bit scalar data sets.

  • jp3d: This is a wavelet compression that can be lossless or lossy. See SoJp3dDataCompressor. Limitation: 32 bit data values (float or integer) are always converted to 16 bit values.

Returns true if parameter is valid, else returns false.

See Also