SoConverterParametersSetCompressionName Method |
Set compression name.
Namespace: OIV.LDM.Converters
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.