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.
Returns true if parameter is valid, else returns false.