Package com.openinventor.ldm.compressors
Class SoJpegDataCompressor
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.ldm.compressors.SoDataCompressor
-
- com.openinventor.ldm.compressors.SoJpegDataCompressor
-
public class SoJpegDataCompressor extends SoDataCompressor
Jpeg data compression. This class implements a compression scheme based on libjpeg. It is a lossy compression.The setCompressionLevel method (
SoDataCompressor
orSoConverterParameters
) accepts values between 0 and 100. 0 gives best compression but most loss of data. 100 gives minimum compression and minimum data alteration. Default is 85.Limitations:
- JPEG compression can only be used on 8-bit data sets.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoJpegDataCompressor()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.ldm.compressors.SoDataCompressor
allocateCompressedBuffer, crc32, getAppropriateCompressor, getCompressedBuffer, getCompressionFormatName, getCompressionLevel, isLossless, setCompressionLevel
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-