Package com.openinventor.inventor.image
Class SoJPEGImageRW
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.image.SoRasterImageRW
-
- com.openinventor.inventor.image.SoJPEGImageRW
-
public class SoJPEGImageRW extends SoRasterImageRW
Class for encoding and decoding a JPEG raster image. This class is used for encoding and decoding a JPEG raster image.The writeCapability is WRITE_SCANLINES and isMultipleBufferInverted is true.
See
SoRasterImageRW
for more information and code examples.- See Also:
SoRasterImageFile
,SoRasterImageRW
,SbRasterImage
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.image.SoRasterImageRW
SoRasterImageRW.OpenModes, SoRasterImageRW.ReadCapabilities, SoRasterImageRW.WriteCapabilities
-
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 SoJPEGImageRW()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getOutputQuality()
Returns the output quality.void
setOutputQuality(float quality)
Sets the output quality of the image, from 0.0 (lowest quality) to 1.0 (highest quality).-
Methods inherited from class com.openinventor.inventor.image.SoRasterImageRW
checkRead, close, enableMultipleWriting, getReadCapability, getWriteCapability, isMultipleBufferInverted, isMultipleWritingEnabled, open, read, read, readRegion, write, write, write, writeFooter, writeHeader
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-