Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-s.b-one.net (mx-s.one.com [91.198.169.250])
	by mail9.b-one.net (Postfix) with ESMTP id 763D040080A
	for <info@awaresystems.be>; Fri, 19 Mar 2010 15:05:38 +0100 (CET)
Received: by mx-s.b-one.net (Postfix, from userid 106)
	id 69FF8875D81B; Fri, 19 Mar 2010 15:05:38 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=4 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-s.b-one.net (Postfix) with ESMTP id A2391875D82A for
 <info@awaresystems.be>; Fri, 19 Mar 2010 15:05:27 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 7CE871D45C019; Fri, 19 Mar 2010
 09:04:03 -0500 (EST)
Received: from mail-fx0-f213.google.com (mail-fx0-f213.google.com
 [209.85.220.213]) by lists.maptools.org (Postfix) with ESMTP id 7F1DF1D33487F
 for <tiff@lists.maptools.org>; Fri, 19 Mar 2010 08:23:29 -0500 (EST)
Received: by fxm5 with SMTP id 5so683257fxm.29 for <tiff@lists.maptools.org>;
 Fri, 19 Mar 2010 06:23:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.102.235.36 with SMTP id i36mr7285046muh.56.1269005008982;
 Fri,  19 Mar 2010 06:23:28 -0700 (PDT)
In-Reply-To: <fc.011ede340393ac3c011ede340393ac3c.393b025@jll.se>
References: <fc.011ede340393ac3c011ede340393ac3c.393b025@jll.se>
Date: Fri, 19 Mar 2010 09:23:28 -0400
Message-ID: <64b49b171003190623ld5f32f7y620755ce0966f674@mail.gmail.com>
From: Olivier Paquet <olivier.paquet@gmail.com>
To: Magnus Bergman jamtli <magnus.bergman@jamtli.com>
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] Reading metadata
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Fri, Mar 19, 2010 at 8:12 AM, Magnus Bergman jamtli
<magnus.bergman@jamtli.com> wrote:
> I'm writing an application which reads metadata from quite large amounts of
> image-files (a hundred or so at a time). This can be done in a generic way
> using either gdk-pixbuf (included in GTK+) or GNU libextractor. Both of
> these uses libtiff then reading metadata from tiff-images. The problem is
> that libtiff has no API to read the metadata without both reading and
> decoding the whole image. This is very significant for my application since

I think you either expressed your problem incorrectly or have the
wrong information. Reading a TIFF's tags with libtiff does not require
reading and decoding any image data, at least not for any tiff I've
ever seen. You have to specifically request image data from the
library with one of the TIFFRead... functions for it to be read from
disk.

What exactly lead you to believe otherwise?

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