Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx011.isp.belgacom.be (inmx011.isp.belgacom.be [195.238.3.50])
        by mailst034.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i93G8nB1011442
        for <joris.at.lebbeke@skynet.be>; Sun, 3 Oct 2004 18:08:49 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx011.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i93G8gEc026200
        for <joris.at.lebbeke@skynet.be>; Sun, 3 Oct 2004 18:08:44 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id B331D34D48F; Sun,  3 Oct 2004 12:08:28 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from arrow.wiznet.ca (arrow.wiznet.ca [216.138.223.232])
	by xserve.flids.com (Postfix) with ESMTP id 9397034D47E
	for <tiff@remotesensing.org>; Sun,  3 Oct 2004 12:08:27 -0400 (EDT)
Received: from pobox.com (H156.C195.tor.velocet.net [216.138.195.156])
	by arrow.wiznet.ca (Postfix) with ESMTP
	id AEE98176C5; Sun,  3 Oct 2004 12:08:26 -0400 (EDT)
Message-ID: <4160241F.3070807@pobox.com>
Date: Sun, 03 Oct 2004 12:09:03 -0400
From: Frank Warmerdam <warmerdam@pobox.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Andrey Kiselev <dron@ak4719.spb.edu>
Subject: Re: [Tiff] Re: reading private subdirs
References: <6.0.0.22.1.20041001145836.026313a0@pop.earthlink.net>	<Pine.SOC.4.60.0410011744180.2727@blade.simplesystems.org>	<6.1.2.0.2.20041001223145.02b55420@pop.earthlink.net>
	<20041002143501.GD12254@ak4719.spb.edu>
In-Reply-To: <20041002143501.GD12254@ak4719.spb.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: tiff@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: a33aa5ea83e8ee4281cccfa569794ee0

Andrey Kiselev wrote:
> I think that the pdsdirread.c can be moved to the core at some point.
> And it is very easy to add this item to the developers' TODO: you should
> just create appropriate Bugzilla report ;-)

Andrey,

The pdfdirread.c code depends on the caller providing a list of TIFFFieldInfo
definitions for all the fields they want to be able to read.  I feel this is
contrary to the newer concept of libtiff "auto-defining" previously undefined
fields.  I also think that having to provide your own "setField" function to
is ackward, and contrary to the simplifying assumptions that libtiff tries
to provide.

Instead, I would prefer to leave the pds stuff in the contrib section rather
that being part of the core API, and work towards a mechanism to call
TIFFReadDirectory() in a special "non-image" mode that doesn't require any
particular fields but can still take advantage of the new auto-define
approach.

So, for the time being, I would like to keep the pds code working but aim
for a better approach ... possibly after we finish the BigTIFF transition.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
