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) |
getElementDescriptionpublic String description()
public String getElementDescription(boolean verbose)
getElementDescription in class TiffElementpublic static String description(int type)
public void dump()
public boolean hasJpegImageData()
throws ImageReadException
ImageReadExceptionpublic boolean hasTiffImageData()
throws ImageReadException
ImageReadExceptionpublic BufferedImage getTiffImage(ByteOrder byteOrder) throws ImageReadException, IOException
ImageReadExceptionIOExceptionpublic BufferedImage getTiffImage(ByteOrder byteOrder, Map<String,Object> params) throws ImageReadException, IOException
ImageReadExceptionIOExceptionpublic TiffField findField(TagInfo tag) throws ImageReadException
ImageReadExceptionpublic TiffField findField(TagInfo tag, boolean failIfMissing) throws ImageReadException
ImageReadExceptionpublic Object getFieldValue(TagInfo tag) throws ImageReadException
ImageReadExceptionpublic String getSingleFieldValue(TagInfoAscii tag) throws ImageReadException
ImageReadExceptionpublic int getSingleFieldValue(TagInfoShortOrLong tag) throws ImageReadException
ImageReadExceptionpublic byte getFieldValue(TagInfoByte tag) throws ImageReadException
ImageReadExceptionpublic byte[] getFieldValue(TagInfoBytes tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic String[] getFieldValue(TagInfoAscii tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic short getFieldValue(TagInfoShort tag) throws ImageReadException
ImageReadExceptionpublic short[] getFieldValue(TagInfoShorts tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic int getFieldValue(TagInfoLong tag) throws ImageReadException
ImageReadExceptionpublic int[] getFieldValue(TagInfoLongs tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic int[] getFieldValue(TagInfoShortOrLong tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic RationalNumber getFieldValue(TagInfoRational tag) throws ImageReadException
ImageReadExceptionpublic RationalNumber[] getFieldValue(TagInfoRationals tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic byte getFieldValue(TagInfoSByte tag) throws ImageReadException
ImageReadExceptionpublic byte[] getFieldValue(TagInfoSBytes tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic short getFieldValue(TagInfoSShort tag) throws ImageReadException
ImageReadExceptionpublic short[] getFieldValue(TagInfoSShorts tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic int getFieldValue(TagInfoSLong tag) throws ImageReadException
ImageReadExceptionpublic int[] getFieldValue(TagInfoSLongs tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic RationalNumber getFieldValue(TagInfoSRational tag) throws ImageReadException
ImageReadExceptionpublic RationalNumber[] getFieldValue(TagInfoSRationals tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic float getFieldValue(TagInfoFloat tag) throws ImageReadException
ImageReadExceptionpublic float[] getFieldValue(TagInfoFloats tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic double getFieldValue(TagInfoDouble tag) throws ImageReadException
ImageReadExceptionpublic double[] getFieldValue(TagInfoDoubles tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic String getFieldValue(TagInfoGpsText tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic String getFieldValue(TagInfoXpString tag, boolean mustExist) throws ImageReadException
ImageReadExceptionpublic List<TiffDirectory.ImageDataElement> getTiffRawImageDataElements() throws ImageReadException
ImageReadExceptionpublic boolean imageDataInStrips()
throws ImageReadException
ImageReadExceptionpublic TiffDirectory.ImageDataElement getJpegRawImageDataElement() throws ImageReadException
ImageReadExceptionpublic void setTiffImageData(TiffImageData rawImageData)
public TiffImageData getTiffImageData()
public void setJpegImageData(JpegImageData value)
public JpegImageData getJpegImageData()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.