SoConverterParametersSetCompressionName Method |
Set compression name.
Namespace: OIV.LDM.Converters
Like the -c command line argument. See also OIV.LDM.Converters.SoConverterParameters.SetCompressionLevel(System.Int32). The following compression types are currently supported:.
gzip: This is a lossless compression and can be used on any type of data. See OIV.LDM.Compressors.SoGzipDataCompressor.
jpeg: This is a lossy compression. See OIV.LDM.Compressors.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 OIV.LDM.Compressors.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.