Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.1/8.12.1/Debian -5) with ESMTP id g2B3PBeK017500
	for <dron@localhost>; Mon, 11 Mar 2002 06:25:11 +0300
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.9.0)
	for dron@localhost (single-drop); Mon, 11 Mar 2002 06:25:11 +0300 (MSK)
Received: from gate7.olympiakos.com ([64.32.199.150]) by shared1-mail.whowhere.com; Sun Mar 10 18:19:34 2002
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id VAA14708;
	Sun, 10 Mar 2002 21:07:17 -0500
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Sun, 10 Mar 2002 21:04:41 -0500
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id VAA14664
	for tiff-outgoing; Sun, 10 Mar 2002 21:04:34 -0500
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from smtp.ntrnet.net (fs1.ntrnet.net [206.66.160.19])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id VAA14661
	for <tiff@olympiakos.com>; Sun, 10 Mar 2002 21:04:33 -0500
Received: from BIGBLACK (pool-63.50.74.205.rlgh.grid.net [63.50.74.205])
	by smtp.ntrnet.net (Postfix) with ESMTP id E8B5D818E
	for <tiff@olympiakos.com>; Sun, 10 Mar 2002 21:04:46 -0500 (EST)
Message-Id: <4.2.0.58.20020310210430.02f0a680@pop3.norton.antivirus>
X-Sender: chrisdl/pop.ntrnet.net@pop3.norton.antivirus
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 
Date: Sun, 10 Mar 2002 21:07:20 -0500
To: tiff@olympiakos.com
From: Chris Losinger <chrisdl@pagesz.net>
Subject: Re: reading EXIF data from a TIFF 
In-Reply-To: <8233.1015480298@sss.pgh.pa.us>
References: <4.2.0.58.20020306232531.02f108f8@pop3.norton.antivirus>
 <4.2.0.58.20020306232531.02f108f8@pop3.norton.antivirus>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 1430
Lines: 36

At 12:51 AM 3/7/2002 -0500, Tom Lane wrote:
>Chris Losinger <chrisdl@pagesz.net> writes:
> >       i've written a parser that works on the EXIF data in JPEG_APP1 
> markers
> > from JPG files, and i'm hoping i can use it to parse the data in TIFF
> > files. bt, i can't find out where or how to get the EXIF data block out of
> > a TIFF.
>
>You're probably looking at it the wrong way 'round.  EXIF's JPEG marker
>contains a mini-TIFF file, which I'd always supposed meant that they
>thought the world revolves around TIFF ;-)  More than likely, the
>equivalent info appears as TIFF tags interspersed with the regular TIFF
>tags when you look at an EXIF-compliant TIFF.  In other words, point
>your EXIF parser at the whole darn TIFF file...

         I tried this - sortof.

         i tried to read one of the EXIF tags from a TIFF that is purported 
to have EXIF info. LibTiff doesn't show anything but the usual stuff in 
TIFFPrintDirectory , and TIFFGetField failed when i tried reading the tag 
with the ID number of a specific EXIF tag (0x8822 - exposure program).

         hmmm


         any other ideas?

-c
----
Chris Losinger
chrisdl@pagesz.net                   http://www.pagesz.net/~chrisdl
smallest@smalleranimals.com          http://www.smalleranimals.com


To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

