Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx012.isp.belgacom.be (inmx012.isp.belgacom.be [195.238.3.90])
        by mailst006.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id i6TDs4Jg007431
        for <joris.at.lebbeke@skynet.be>; Thu, 29 Jul 2004 15:54:04 +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 inmx012.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id i6TDrwii013797
        for <joris.at.lebbeke@skynet.be>; Thu, 29 Jul 2004 15:54:00 +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 34F11178820; Thu, 29 Jul 2004 09:53:46 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from mail.zedxinc.com (mail.zedxinc.com [12.151.18.196])
	by xserve.flids.com (Postfix) with ESMTP id 745BE167E90
	for <tiff@remotesensing.org>; Mon, 26 Jul 2004 09:35:47 -0400 (EDT)
Received: from seppuku (scorpius.zedxinc.com [12.151.18.195])
	by mail.zedxinc.com (Postfix) with SMTP id 9DBB428406
	for <tiff@remotesensing.org>; Mon, 26 Jul 2004 09:32:08 -0400 (EDT)
Message-ID: <00a901c4732e$8f62e750$2c05000a@seppuku>
From: "David Christopher Asher" <asher@zedxinc.com>
To: <tiff@remotesensing.org>
References: <b35303704072603075187a08@mail.gmail.com>
	<001101c47313$fb270db0$910ff151@dfgrrxsknr4e>
Subject: Re: [Tiff] Is this possible by using LibTiff?
Date: Mon, 26 Jul 2004 09:35:27 -0700
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 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
X-Mailman-Approved-At: Thu, 29 Jul 2004 09:53:43 -0400
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: bbd6f2225a32874d4518b6c9212a7217

> > # 1. Is it possible to just store the Tiff Directory with all tags
> > except-the-image-pixel-data, so that I can later easily
> > recreate a Tiff with same characteristics as the original file?
>
> I don't think exactly this functionality is included in LibTiff. I
wouldn't
> advice this exact way of doing it, anyhow. Either
> 1) the tags-except-image-pixel data stuff is fixed. In that case,
hard-code it
> 2) the tags-except-image-pixel data stuff is flexible. Perhaps there's a
UI

Unless I am missing something, couldn't you simply write out a small, say, 1
pixel by 1-pixel image with the color table and any other tags.  The only
thing you would need to change/remember is the image dimensions or other
size-related tags (if they are not fixed).  Perhaps you could encode them in
the filename if you have no other way of remembering them, like
"IMAGENAME01234_1024_768.tiff" or something.

--
Dave

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