Package com.openinventor.inventor.image
Class SoTIFFImageRW
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.image.SoRasterImageRW
-
- com.openinventor.inventor.image.SoTIFFImageRW
-
public class SoTIFFImageRW extends SoRasterImageRW
Class for encoding and decoding a TIFF raster image. This class is used for encoding and decoding a TIFF 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 Modifier and Type Class Description static class
SoTIFFImageRW.CompressionModes
CompressionMode.-
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 SoTIFFImageRW()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoTIFFImageRW.CompressionModes
getCompressionMode()
Gets the compression mode used for encoding.void
setCompressionMode(SoTIFFImageRW.CompressionModes compressionMode)
Sets the compression mode to use when encoding the image.-
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
-
-
-
-
Method Detail
-
setCompressionMode
public void setCompressionMode(SoTIFFImageRW.CompressionModes compressionMode)
Sets the compression mode to use when encoding the image. Default compression is PACKBITS_COMPRESSION.
-
getCompressionMode
public SoTIFFImageRW.CompressionModes getCompressionMode()
Gets the compression mode used for encoding.
-
-