From: losinger@earthlink.net (Chris Losinger)
Date: Sun, 16 Nov 2003 19:45:43 -0500
Subject: [Tiff] TIFF, v3.6.0. Fetching "custom" tags
Message-ID: <6.0.0.22.2.20031116193547.02e96f38@pop.earthlink.net>
Content-Type: multipart/alternative;
    boundary="=====================_34572722==.ALT"

--=====================_34572722==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed


         i'm trying to read data in tag 34665 (EXIF data). In 3.5.7, i used 
the tags/xtiff extension to read this non-core tag, and it worked fine.

         But, since the v3.6.0.html page states:

"Custom tags can be set and fetched normally using TIFFSetField() and 
TIFFGetField(), and appear pretty much like normal tags to application code. "

         I assume I can get rid of the tags/xtiff stuff and LibTiff will 
happily read and store any tags that it finds, even non-core tags, like 34665.

         But, it doesn't seem to be working. When reading the TIFF dir, i 
get warnings about "unknown field with tag 34665 (0x8769) encountered", and 
when i call TIFFGetField, nothing is returned. It looks like v3.6.0. is 
behaving pretty much exactly like 3.5.7: complain about strange tags, then 
ignore them. But that's not what the documentation says is supposed to happen.

         confused.

         -c
----
Chris Losinger
losinger@earthlink.net
smallest@smalleranimals.com          http://www.smalleranimals.com 
--=====================_34572722==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<body>
<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>i'm trying
to read data in tag 34665 (EXIF data). In 3.5.7, i used the tags/xtiff
extension to read this non-core tag, and it worked fine. <br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>But, since
the v3.6.0.html page states:<br><br>
&quot;<font face="Helvetica, Helvetica">Custom tags can be set and
fetched normally using TIFFSetField() and TIFFGetField(), and appear
pretty much like normal tags to application code. &quot;<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>I assume I
can get rid of the tags/xtiff stuff and LibTiff will happily read and
store any tags that it finds, even non-core tags, like 34665. <br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>But, it
doesn't seem to be working. When reading the TIFF dir, i get warnings
about &quot;unknown field with tag 34665 (0x8769) encountered&quot;, and
when i call TIFFGetField, nothing is returned. It looks like v3.6.0. is
behaving pretty much exactly like 3.5.7: complain about strange tags,
then ignore them. But that's not what the documentation says is supposed
to happen.<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>confused.<br><br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>-c</font></body>
<br>
<div>----</div>
<div>Chris Losinger</div>
<div>losinger@earthlink.net</div>
smallest@smalleranimals.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.smalleranimals.com/" EUDORA=AUTOURL>http://www.smalleranimals.com</a>
</html>

--=====================_34572722==.ALT--


