public class TiffDirectory extends TiffElement
Modifier and Type | Class and Description |
---|---|
static class |
TiffDirectory.ImageDataElement |
TiffElement.DataElement, TiffElement.Stub
Modifier and Type | Field and Description |
---|---|
List<TiffField> |
entries |
long |
nextDirectoryOffset |
int |
type |
COMPARATOR, length, offset
Constructor and Description |
---|
TiffDirectory(int type,
List<TiffField> entries,
long offset,
long nextDirectoryOffset) |
public String description()
public String getElementDescription()
getElementDescription
in class TiffElement
public static String description(int type)
public void dump()
public boolean hasJpegImageData() throws ImageReadException
ImageReadException
public boolean hasTiffImageData() throws ImageReadException
ImageReadException
public BufferedImage getTiffImage(ByteOrder byteOrder) throws ImageReadException, IOException
ImageReadException
IOException
public BufferedImage getTiffImage(ByteOrder byteOrder, Map<String,Object> params) throws ImageReadException, IOException
ImageReadException
IOException
public TiffField findField(TagInfo tag) throws ImageReadException
ImageReadException
public TiffField findField(TagInfo tag, boolean failIfMissing) throws ImageReadException
ImageReadException
public Object getFieldValue(TagInfo tag) throws ImageReadException
ImageReadException
public String getSingleFieldValue(TagInfoAscii tag) throws ImageReadException
ImageReadException
public int getSingleFieldValue(TagInfoShortOrLong tag) throws ImageReadException
ImageReadException
public byte getFieldValue(TagInfoByte tag) throws ImageReadException
ImageReadException
public byte[] getFieldValue(TagInfoBytes tag, boolean mustExist) throws ImageReadException
ImageReadException
public String[] getFieldValue(TagInfoAscii tag, boolean mustExist) throws ImageReadException
ImageReadException
public short getFieldValue(TagInfoShort tag) throws ImageReadException
ImageReadException
public short[] getFieldValue(TagInfoShorts tag, boolean mustExist) throws ImageReadException
ImageReadException
public int getFieldValue(TagInfoLong tag) throws ImageReadException
ImageReadException
public int[] getFieldValue(TagInfoLongs tag, boolean mustExist) throws ImageReadException
ImageReadException
public int[] getFieldValue(TagInfoShortOrLong tag, boolean mustExist) throws ImageReadException
ImageReadException
public RationalNumber getFieldValue(TagInfoRational tag) throws ImageReadException
ImageReadException
public RationalNumber[] getFieldValue(TagInfoRationals tag, boolean mustExist) throws ImageReadException
ImageReadException
public byte getFieldValue(TagInfoSByte tag) throws ImageReadException
ImageReadException
public byte[] getFieldValue(TagInfoSBytes tag, boolean mustExist) throws ImageReadException
ImageReadException
public short getFieldValue(TagInfoSShort tag) throws ImageReadException
ImageReadException
public short[] getFieldValue(TagInfoSShorts tag, boolean mustExist) throws ImageReadException
ImageReadException
public int getFieldValue(TagInfoSLong tag) throws ImageReadException
ImageReadException
public int[] getFieldValue(TagInfoSLongs tag, boolean mustExist) throws ImageReadException
ImageReadException
public RationalNumber getFieldValue(TagInfoSRational tag) throws ImageReadException
ImageReadException
public RationalNumber[] getFieldValue(TagInfoSRationals tag, boolean mustExist) throws ImageReadException
ImageReadException
public float getFieldValue(TagInfoFloat tag) throws ImageReadException
ImageReadException
public float[] getFieldValue(TagInfoFloats tag, boolean mustExist) throws ImageReadException
ImageReadException
public double getFieldValue(TagInfoDouble tag) throws ImageReadException
ImageReadException
public double[] getFieldValue(TagInfoDoubles tag, boolean mustExist) throws ImageReadException
ImageReadException
public String getFieldValue(TagInfoGpsText tag, boolean mustExist) throws ImageReadException
ImageReadException
public String getFieldValue(TagInfoXpString tag, boolean mustExist) throws ImageReadException
ImageReadException
public List<TiffDirectory.ImageDataElement> getTiffRawImageDataElements() throws ImageReadException
ImageReadException
public boolean imageDataInStrips() throws ImageReadException
ImageReadException
public TiffDirectory.ImageDataElement getJpegRawImageDataElement() throws ImageReadException
ImageReadException
public void setTiffImageData(TiffImageData rawImageData)
public TiffImageData getTiffImageData()
public void setJpegImageData(JpegImageData value)
public JpegImageData getJpegImageData()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.