AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.12.12 22:19 "Writing EXIF data?", by Paul J Lucas
2005.12.12 22:49 "Re: Writing EXIF data?", by Bob Friesenhahn
2005.12.12 22:57 "Re: Writing EXIF data?", by Paul J Lucas
2005.12.12 23:47 "Re: Writing EXIF data?", by Bob Friesenhahn
2005.12.13 02:15 "Re: Writing EXIF data?", by Paul J Lucas
2005.12.13 05:22 "Re: Writing EXIF data?", by Bob Friesenhahn
2005.12.13 07:43 "Re: Writing EXIF data?", by Paul J Lucas
2005.12.13 08:57 "Re: Writing EXIF data?", by Andrey Kiselev
2005.12.13 16:28 "Re: Writing EXIF data?", by Joris Van Damme
2005.12.13 17:22 "Re: Writing EXIF data?", by Paul J Lucas
2005.12.13 18:16 "Re: Writing EXIF data?", by Bob Friesenhahn
2005.12.13 05:24 "Re: Writing EXIF data?", by Joris Van Damme
2005.12.13 07:49 "Re: Writing EXIF data?", by Paul J Lucas
2005.12.13 15:07 "Re: Writing EXIF data?", by Joris Van Damme
2005.12.13 17:31 "Re: Writing EXIF data?", by Paul J Lucas
2005.12.13 18:08 "Re: Writing EXIF data?", by Joris Van Damme
2005.12.13 18:13 "Re: Writing EXIF data?", by Paul J Lucas
2005.12.13 18:25 "Re: Writing EXIF data?", by Joris Van Damme
2005.12.13 19:49 "Re: Writing EXIF data?", by Lou Sakey
2005.12.13 20:27 "Re: Writing EXIF data?", by Joris Van Damme
2005.12.13 21:24 "Re: Writing EXIF data?", by Lou Sakey
2005.12.13 20:04 "Re: Writing EXIF data?", by Paul J Lucas
2005.12.13 20:47 "Re: Writing EXIF data?", by Andrey Kiselev
2005.12.13 18:19 "Re: Writing EXIF data?", by Joshua Muskovitz
2005.12.13 20:23 "Re: Writing EXIF data?", by Paul J Lucas
2005.12.13 21:08 "Re: Writing EXIF data?", by Andrey Kiselev
2005.12.13 18:16 "Re: Writing EXIF data?", by Joshua Muskovitz
2005.12.13 18:40 "Re: Writing EXIF data?", by Chris Losinger

2005.12.13 20:47 "Re: Writing EXIF data?", by Andrey Kiselev

On Tue, Dec 13, 2005 at 12:04:36PM -0800, Paul J. Lucas wrote:
> > > No it doesnt since all the offsets inside the EXIF IFD are
> > > relative to its start.
> > 
> > For the sake of other mailing list subscribers and archive users: the
> > above quote is incorrect information.
> 
> No it isn't.  Here's proof.  Take the JPEG image at:
> ...
> Therefore, all EXIF metadata offsets for tag values larger than
> 4 bytes are *relative* to the start of the EXIF metadata.

Paul,

That may have a sense for JPEG, but not for TIFF. Read the EXIF
specification:

"Value Offset
This tag records the offset from the start of the TIFF header to the
position where the value itself is recorded. In cases where the value
fits in 4 bytes, the value itself is recorded. If the value is smaller
than 4 bytes, the value is stored in the 4-byte area starting from the
left, i.e., from the lower end of the byte offset area. For example, in
big endian format, if the type is SHORT and the value is 1, it is
recorded as 00010000.H."

Note, that it is absolutely clean on the subject of the start position
for offsets. And that explains why it works differently for JPEG: take a
look where TIFF header starts in your file (offset 0x000c). Good for
JPEG, but in TIFFs things become more complicated.

Regards,
Andrey

-- 
Andrey V. Kiselev
ICQ# 26871517