An internal API for decoding EXIF data.
This class identifies a byte array as valid EXIF and provides methods
for converting the internal representation of types to equivalent Java
types.
This is a separate class in order to facilitate writing decoders for
unknown fields.
Special note: string values are %-encoded to protect the caller from
values that might not be legitimate UTF-8 strings.
Bugs:
The EXIF format includes unsigned integers which aren't directly
available in Java. Unless I'm mistaken, they'd have to be turned into
longs. But that would
be inconvenient in other APIs. For the moment, I'm just treating them all as
signed. I've never seen an EXIF unsigned value too large to represent
in a Java int.
version: $Revision: 1.1 $ author: Norman Walsh See Also: Exif |