public interface TiffHandler
TiffReader
.Modifier and Type | Method and Description |
---|---|
boolean |
customProcessTag(int tagOffset,
Set<Integer> processedIfdOffsets,
int tiffHeaderOffset,
RandomAccessReader reader,
int tagId,
int byteCount) |
void |
endingIFD() |
void |
error(String message) |
boolean |
hasFollowerIfd() |
void |
setByteArray(int tagId,
byte[] bytes) |
void |
setDouble(int tagId,
double double64) |
void |
setDoubleArray(int tagId,
double[] array) |
void |
setFloat(int tagId,
float float32) |
void |
setFloatArray(int tagId,
float[] array) |
void |
setInt16s(int tagId,
int int16s) |
void |
setInt16sArray(int tagId,
short[] array) |
void |
setInt16u(int tagId,
int int16u) |
void |
setInt16uArray(int tagId,
int[] array) |
void |
setInt32s(int tagId,
int int32s) |
void |
setInt32sArray(int tagId,
int[] array) |
void |
setInt32u(int tagId,
long int32u) |
void |
setInt32uArray(int tagId,
long[] array) |
void |
setInt8s(int tagId,
byte int8s) |
void |
setInt8sArray(int tagId,
byte[] array) |
void |
setInt8u(int tagId,
short int8u) |
void |
setInt8uArray(int tagId,
short[] array) |
void |
setRational(int tagId,
Rational rational) |
void |
setRationalArray(int tagId,
Rational[] array) |
void |
setString(int tagId,
StringValue string) |
void |
setTiffMarker(int marker)
Receives the 2-byte marker found in the TIFF header.
|
Long |
tryCustomProcessFormat(int tagId,
int formatCode,
long componentCount) |
boolean |
tryEnterSubIfd(int tagId) |
void |
warn(String message) |
void setTiffMarker(int marker) throws TiffProcessingException
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
boolean tryEnterSubIfd(int tagId)
boolean hasFollowerIfd()
void endingIFD()
Long tryCustomProcessFormat(int tagId, int formatCode, long componentCount)
boolean customProcessTag(int tagOffset, Set<Integer> processedIfdOffsets, int tiffHeaderOffset, RandomAccessReader reader, int tagId, int byteCount) throws IOException
IOException
void warn(String message)
void error(String message)
void setByteArray(int tagId, byte[] bytes)
void setString(int tagId, StringValue string)
void setRational(int tagId, Rational rational)
void setRationalArray(int tagId, Rational[] array)
void setFloat(int tagId, float float32)
void setFloatArray(int tagId, float[] array)
void setDouble(int tagId, double double64)
void setDoubleArray(int tagId, double[] array)
void setInt8s(int tagId, byte int8s)
void setInt8sArray(int tagId, byte[] array)
void setInt8u(int tagId, short int8u)
void setInt8uArray(int tagId, short[] array)
void setInt16s(int tagId, int int16s)
void setInt16sArray(int tagId, short[] array)
void setInt16u(int tagId, int int16u)
void setInt16uArray(int tagId, int[] array)
void setInt32s(int tagId, int int32s)
void setInt32sArray(int tagId, int[] array)
void setInt32u(int tagId, long int32u)
void setInt32uArray(int tagId, long[] array)
Copyright © 2010 - 2020 Adobe. All Rights Reserved