public class Subfile
extends java.lang.Object
Constructor and Description |
---|
Subfile()
Empty Subfile constructor.
|
Subfile(Tiff tiff,
int offset) |
Modifier and Type | Method and Description |
---|---|
int[] |
getBitsPerSample() |
int |
getCompression() |
java.nio.ByteBuffer |
getData(java.nio.ByteBuffer result)
Writes the uncompressed data from the Tiff data associated with the Subfile to the provided
ByteBuffer.
|
int |
getDataSize()
Calculates the uncompressed data size.
|
java.util.Map<java.lang.Integer,Field> |
getFields() |
int |
getImageLength() |
int |
getImageWidth() |
int |
getNewSubfileType() |
int |
getOffset() |
int |
getPhotometricInterpretation() |
int |
getPlanarConfiguration() |
int |
getResolutionUnit() |
int |
getRowsPerStrip() |
int[] |
getSampleFormat() |
int |
getSamplesPerPixel() |
int[] |
getStripByteCounts() |
int[] |
getStripOffsets() |
Tiff |
getTiff() |
int[] |
getTileByteCounts() |
int |
getTileLength() |
int[] |
getTileOffsets() |
int |
getTileWidth() |
double |
getXResolution() |
double |
getYResolution() |
public Subfile()
public Subfile(Tiff tiff, int offset)
public Tiff getTiff()
public java.util.Map<java.lang.Integer,Field> getFields()
public int getNewSubfileType()
public int getImageWidth()
public int getImageLength()
public int[] getBitsPerSample()
public int getCompression()
public int getPhotometricInterpretation()
public int getSamplesPerPixel()
public double getXResolution()
public double getYResolution()
public int getPlanarConfiguration()
public int getResolutionUnit()
public int getOffset()
public int[] getStripOffsets()
public int[] getStripByteCounts()
public int[] getTileOffsets()
public int[] getTileByteCounts()
public int getRowsPerStrip()
public int getTileWidth()
public int getTileLength()
public int[] getSampleFormat()
public int getDataSize()
getData(ByteBuffer)
method.public java.nio.ByteBuffer getData(java.nio.ByteBuffer result)
result
- a ByteBuffer ready for the uncompressed Tiff data, should have a capacity of at least the return
value of getDataSize()