public class TileDecompressor extends AbstractTileOperation
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
compressedData |
protected int |
compressedOffset |
protected nom.tam.image.compression.tile.TileCompressionType |
compressionType |
protected ICompressOption |
tileOptions |
Modifier | Constructor and Description |
---|---|
protected |
TileDecompressor(TiledImageCompressionOperation array,
int tileIndex,
TileArea area) |
Modifier and Type | Method and Description |
---|---|
protected NullPixelMaskRestorer |
createImageNullPixelMask(ImageNullPixelMask imageNullPixelMask) |
protected void |
forceNoLoss(boolean value)
should the data of this tile be forced to case no data loss.
|
protected byte[] |
getCompressedData() |
protected ByteBuffer |
getCompressedWholeArea() |
protected nom.tam.image.compression.tile.TileCompressionType |
getCompressionType() |
protected ICompressorControl |
getCompressorControl() |
protected ICompressorControl |
getGzipCompressorControl() |
protected nom.tam.image.compression.tile.TileCompressionOperation |
initTileOptions() |
void |
run() |
protected nom.tam.image.compression.tile.TileCompressionOperation |
setCompressed(Object data,
nom.tam.image.compression.tile.TileCompressionType type) |
protected nom.tam.image.compression.tile.TileCompressionOperation |
setCompressedOffset(int value) |
nom.tam.image.compression.tile.TileCompressionOperation |
setDimensions(int dataOffset,
int width,
int height) |
protected void |
setWholeImageCompressedBuffer(ByteBuffer compressed)
set the buffer that describes the whole compressed image and let the tile
create a slice of it from the position where the tile starts in the whole
image.
|
String |
toString() |
execute, getArea, getBaseType, getPixelSize, getPreviousTileOperation, getTileBuffer, getTiledImageOperation, getTileIndex, setTileBuffer, setWholeImageBuffer, waitForResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
waitForResult
protected ByteBuffer compressedData
protected int compressedOffset
protected nom.tam.image.compression.tile.TileCompressionType compressionType
protected ICompressOption tileOptions
protected TileDecompressor(TiledImageCompressionOperation array, int tileIndex, TileArea area)
public void run()
protected NullPixelMaskRestorer createImageNullPixelMask(ImageNullPixelMask imageNullPixelMask)
protected void forceNoLoss(boolean value)
value
- the value to set.protected byte[] getCompressedData()
protected ByteBuffer getCompressedWholeArea()
protected nom.tam.image.compression.tile.TileCompressionType getCompressionType()
protected ICompressorControl getCompressorControl()
protected ICompressorControl getGzipCompressorControl()
protected nom.tam.image.compression.tile.TileCompressionOperation initTileOptions()
protected nom.tam.image.compression.tile.TileCompressionOperation setCompressed(Object data, nom.tam.image.compression.tile.TileCompressionType type)
protected nom.tam.image.compression.tile.TileCompressionOperation setCompressedOffset(int value)
public nom.tam.image.compression.tile.TileCompressionOperation setDimensions(int dataOffset, int width, int height)
setDimensions
in interface ITileOperation
setDimensions
in class AbstractTileOperation
protected void setWholeImageCompressedBuffer(ByteBuffer compressed)
compressed
- the buffer that describes the whole image.Copyright © 1996–2016 nom-tam-fits. All rights reserved.