Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas028.isp.belgacom.be (localhost [127.0.0.1])
        by inav005.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id jBLDKXGx009203
        for <joris.at.lebbeke@skynet.be>; Wed, 21 Dec 2005 14:20:33 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx014.isp.belgacom.be (inmx014.isp.belgacom.be [195.238.4.217])
        by inas028.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id jBLDKOVj016480
        for <joris.at.lebbeke@skynet.be>; Wed, 21 Dec 2005 14:20:26 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx014.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id jBLDKJZo029068
        for <joris.at.lebbeke@skynet.be>; Wed, 21 Dec 2005 14:20:20 +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 jBLDEjbp017409;
	Wed, 21 Dec 2005 08:15:21 -0500
Received: from outmx009.isp.belgacom.be (outmx009.isp.belgacom.be
	[195.238.5.4])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id jBLDEg5X017406
	for <tiff@lists.maptools.org>; Wed, 21 Dec 2005 08:14:43 -0500
Received: from outmx009.isp.belgacom.be (localhost [127.0.0.1])
	by outmx009.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id jBLDESTn004156
	for <tiff@lists.maptools.org>; Wed, 21 Dec 2005 14:14:28 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (12-190.246.81.adsl.skynet.be [81.246.190.12])
	by outmx009.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id jBLDEMS2004089; Wed, 21 Dec 2005 14:14:22 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <001701c60630$80967a20$0cbef651@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: "Thomas Oldenkott" <Thomas.Oldenkott@fleischhacker.biz>,
        <tiff@lists.maptools.org>
References: <001301c6061c$536840b0$e95305c7@FLMED.LOC>
Subject: Re: [Tiff] insert before tags
Date: Wed, 21 Dec 2005 14:14:37 +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.00000fdd
X-MSP-STORE: Wed, 21 Dec 2005 14:20:38 +0100
Status:   

Thomas,

Thomas Oldenkott wrote:
> I have to insert a two byte integer value before the beginning of
> the tags. It has not any tag number. This value include the
> quantity of tags in the current image.
> How can I make this?

Either you are working from an incorrect assumption, or you need to make
yourself more clear. Are you using LibTiff? When you write tag values
and such to an IFD, LibTiff takes care of properly writing the IFD
structure, including the tag count word at the start of the IFD.


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/
