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 |
---|---|
java.util.List<TiffField> |
entries |
long |
nextDirectoryOffset |
int |
type |
COMPARATOR, length, offset
Constructor and Description |
---|
TiffDirectory(int type,
java.util.List<TiffField> entries,
long offset,
long nextDirectoryOffset) |
getElementDescription
public final int type
public final java.util.List<TiffField> entries
public final long nextDirectoryOffset
public TiffDirectory(int type, java.util.List<TiffField> entries, long offset, long nextDirectoryOffset)
public java.lang.String description()
public java.lang.String getElementDescription(boolean verbose)
getElementDescription
in class TiffElement
public static java.lang.String description(int type)
public java.util.List<TiffField> getDirectoryEntries()
public void dump()
public boolean hasJpegImageData() throws ImageReadException
ImageReadException
public boolean hasTiffImageData() throws ImageReadException
ImageReadException
public java.awt.image.BufferedImage getTiffImage(java.nio.ByteOrder byteOrder) throws ImageReadException, java.io.IOException
ImageReadException
java.io.IOException
public java.awt.image.BufferedImage getTiffImage(java.nio.ByteOrder byteOrder, java.util.Map<java.lang.String,java.lang.Object> params) throws ImageReadException, java.io.IOException
ImageReadException
java.io.IOException
public TiffField findField(TagInfo tag) throws ImageReadException
ImageReadException
public TiffField findField(TagInfo tag, boolean failIfMissing) throws ImageReadException
ImageReadException
public java.lang.Object getFieldValue(TagInfo tag) throws ImageReadException
ImageReadException
public byte getSingleFieldValue(TagInfoByte tag) throws ImageReadException
ImageReadException
public java.lang.String getSingleFieldValue(TagInfoAscii tag) throws ImageReadException
ImageReadException
public short getSingleFieldValue(TagInfoShort tag) throws ImageReadException
ImageReadException
public int getSingleFieldValue(TagInfoLong tag) throws ImageReadException
ImageReadException
public int getSingleFieldValue(TagInfoShortOrLong tag) throws ImageReadException
ImageReadException
public RationalNumber getSingleFieldValue(TagInfoRational tag) throws ImageReadException
ImageReadException
public byte getSingleFieldValue(TagInfoSByte tag) throws ImageReadException
ImageReadException
public short getSingleFieldValue(TagInfoSShort tag) throws ImageReadException
ImageReadException
public int getSingleFieldValue(TagInfoSLong tag) throws ImageReadException
ImageReadException
public RationalNumber getSingleFieldValue(TagInfoSRational tag) throws ImageReadException
ImageReadException
public float getSingleFieldValue(TagInfoFloat tag) throws ImageReadException
ImageReadException
public double getSingleFieldValue(TagInfoDouble tag) throws ImageReadException
ImageReadException
public byte[] getFieldValue(TagInfoByte tag, boolean mustExist) throws ImageReadException
ImageReadException
public java.lang.String[] getFieldValue(TagInfoAscii tag, boolean mustExist) throws ImageReadException
ImageReadException
public short[] getFieldValue(TagInfoShort tag, boolean mustExist) throws ImageReadException
ImageReadException
public int[] getFieldValue(TagInfoLong tag, boolean mustExist) throws ImageReadException
ImageReadException
public int[] getFieldValue(TagInfoShortOrLong tag, boolean mustExist) throws ImageReadException
ImageReadException
public RationalNumber[] getFieldValue(TagInfoRational tag, boolean mustExist) throws ImageReadException
ImageReadException
public byte[] getFieldValue(TagInfoSByte tag, boolean mustExist) throws ImageReadException
ImageReadException
public short[] getFieldValue(TagInfoSShort tag, boolean mustExist) throws ImageReadException
ImageReadException
public int[] getFieldValue(TagInfoSLong tag, boolean mustExist) throws ImageReadException
ImageReadException
public RationalNumber[] getFieldValue(TagInfoSRational tag, boolean mustExist) throws ImageReadException
ImageReadException
public float[] getFieldValue(TagInfoFloat tag, boolean mustExist) throws ImageReadException
ImageReadException
public double[] getFieldValue(TagInfoDouble tag, boolean mustExist) throws ImageReadException
ImageReadException
public java.lang.String getFieldValue(TagInfoGpsText tag, boolean mustExist) throws ImageReadException
ImageReadException
public java.lang.String getFieldValue(TagInfoXpString tag, boolean mustExist) throws ImageReadException
ImageReadException
public java.util.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 © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"