public class ExifTiffHandler extends DirectoryTiffHandler
TiffHandler
used for handling TIFF tags according to the Exif
standard.
Includes support for camera manufacturer makernotes.
_currentDirectory, _metadata
Constructor and Description |
---|
ExifTiffHandler(Metadata metadata,
boolean storeThumbnailBytes) |
Modifier and Type | Method and Description |
---|---|
void |
completed(RandomAccessReader reader,
int tiffHeaderOffset) |
boolean |
customProcessTag(int tagOffset,
Set<Integer> processedIfdOffsets,
int tiffHeaderOffset,
RandomAccessReader reader,
int tagId,
int byteCount) |
boolean |
hasFollowerIfd() |
boolean |
isTagIfdPointer(int tagType) |
void |
setTiffMarker(int marker)
Receives the 2-byte marker found in the TIFF header.
|
endingIFD, error, pushDirectory, setByteArray, setDouble, setDoubleArray, setFloat, setFloatArray, setInt16s, setInt16sArray, setInt16u, setInt16uArray, setInt32s, setInt32sArray, setInt32u, setInt32uArray, setInt8s, setInt8sArray, setInt8u, setInt8uArray, setRational, setRationalArray, setString, warn
public ExifTiffHandler(Metadata metadata, boolean storeThumbnailBytes)
public void setTiffMarker(int marker) throws TiffProcessingException
TiffHandler
Implementations are not obligated to use this information for any purpose, though it may be useful for validation or perhaps differentiating the type of mapping to use for observed tags and IFDs.
marker
- the 2-byte value found at position 2 of the TIFF headerTiffProcessingException
public boolean isTagIfdPointer(int tagType)
public boolean hasFollowerIfd()
public boolean customProcessTag(int tagOffset, Set<Integer> processedIfdOffsets, int tiffHeaderOffset, RandomAccessReader reader, int tagId, int byteCount) throws IOException
IOException
public void completed(RandomAccessReader reader, int tiffHeaderOffset)
Copyright © 2002-2015 Drew Noakes. All Rights Reserved.