Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas013.isp.belgacom.be (localhost [127.0.0.1])
        by inav029.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id jBMJkiWx020554
        for <joris.at.lebbeke@skynet.be>; Thu, 22 Dec 2005 20:46:44 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx010.isp.belgacom.be (inmx010.isp.belgacom.be [195.238.4.73])
        by inas013.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id jBMJkY7i014560
        for <joris.at.lebbeke@skynet.be>; Thu, 22 Dec 2005 20:46:35 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx010.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id jBMJkMTG000421
        for <joris.at.lebbeke@skynet.be>; Thu, 22 Dec 2005 20:46:22 +0100
        (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 jBMJevS8013289;
	Thu, 22 Dec 2005 14:41:03 -0500
Received: from outmx017.isp.belgacom.be (outmx017.isp.belgacom.be
	[195.238.2.116])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id jBMJet5d013286
	for <tiff@lists.maptools.org>; Thu, 22 Dec 2005 14:40:55 -0500
Received: from outmx017.isp.belgacom.be (localhost [127.0.0.1])
	by outmx017.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id jBMJemRR025921
	for <tiff@lists.maptools.org>; Thu, 22 Dec 2005 20:40:48 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (133-152.246.81.adsl.skynet.be [81.246.152.133])
	by outmx017.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id jBMJehZV025870; Thu, 22 Dec 2005 20:40:43 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <001f01c6072f$a6698b70$8598f651@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: <tiff@lists.maptools.org>, "Chris Losinger" <losinger@earthlink.net>
References: <6.0.0.22.1.20051222141741.01cbe3a0@pop.earthlink.net>
Subject: Re: [Tiff] filtering TIFF tags
Date: Thu, 22 Dec 2005 20:41:04 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Cc: 
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.0000101a
X-MSP-STORE: Thu, 22 Dec 2005 20:46:47 +0100
Status:   

Chris,

Chris Losinger wrote:
> some applications store gigantic quantities of image meta-data in
> certain tags, and LibTiff happily allocates gigantic quantities of
> RAM to store this tag data, when all I really want is to query the
> image dimension or DPI tags.
>
> i see the TIFFReassignTagToIgnore function, but i'm not sure it
> actually does anything... the arrays it fills aren't used anywhere.

Do you really need only an ignore mechanism, for your purposes, or do
you need a lazy read mechanism that doesn't actually read the tag value
until it is first time queried?


Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

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