Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas029.isp.belgacom.be (localhost [127.0.0.1])
        by inav025.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k56DBRFj018306
        for <joris.at.lebbeke@skynet.be>; Tue, 6 Jun 2006 15:11:27 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx006.isp.belgacom.be (inmx006.isp.belgacom.be [195.238.4.106])
        by inas029.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k56DBIxK013852
        for <joris.at.lebbeke@skynet.be>; Tue, 6 Jun 2006 15:11:19 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx006.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k56DBFHL001529
        for <joris.at.lebbeke@skynet.be>; Tue, 6 Jun 2006 15:11:16 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k56CxVCe030656;
	Tue, 6 Jun 2006 09:00:19 -0400
Received: from owl.phy.queensu.ca (owl.phy.QueensU.CA [130.15.24.27])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k56CxUk2030653
	for <tiff@lists.maptools.org>; Tue, 6 Jun 2006 08:59:30 -0400
Received: from [130.15.24.87] (U87.N24.QueensU.CA [130.15.24.87])
	by owl.phy.queensu.ca (8.13.1/8.13.1) with ESMTP id k56CxOxF017420
	for <tiff@lists.maptools.org>; Tue, 6 Jun 2006 08:59:29 -0400
Mime-Version: 1.0 (Apple Message framework v624)
In-Reply-To: <200606041447.k54El1Ab010328@duke.maptools.org>
References: <200606041447.k54El1Ab010328@duke.maptools.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <78e40046cf9d8f27ca3f2979998ab9bf@owl.phy.queensu.ca>
Content-Transfer-Encoding: 7bit
From: Phil Harvey <phil@owl.phy.queensu.ca>
Date: Tue, 6 Jun 2006 08:59:24 -0400
To: tiff@lists.maptools.org
X-Mailer: Apple Mail (2.624)
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.1
	(owl.phy.queensu.ca [130.15.24.27]);
	Tue, 06 Jun 2006 08:59:29 -0400 (EDT)
Subject: [Tiff] TIFF dump utility
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001771
X-MSP-STORE: Tue, 06 Jun 2006 15:11:36 +0200
Status:   

There is a tool that many of you probably aren't familiar with that can 
be very useful for visualizing the IFD structure of a TIFF file.  The 
ExifTool utility has a feature where it will dump TIFF/EXIF information 
in HTML format.  As an example, here is a sample output for a TIFF 
image:

http://owl.phy.queensu.ca/~phil/htmldump_sample.html

The one quirk is that image data shows up as "unused bytes" since this 
is meta information utility and doesn't deal with image data.  This 
output is specifically designed for debugging problems decoding EXIF 
meta information in JPEG images (including the maker notes information 
if it uses an IFD structure), but it also works well when run on TIFF 
images.

ExifTool is a set of Perl modules with an included command-line 
application, and can be downloaded from 
http://owl.phy.queensu.ca/~phil/exiftool/

- Phil Harvey

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
