Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-k.b-one.net (mx-k.one.com [91.198.169.58])
	by mail9.b-one.net (Postfix) with ESMTP id 317E840024C
	for <info@awaresystems.be>; Mon, 28 Mar 2011 20:25:22 +0200 (CEST)
Received: by mx-k.b-one.net (Postfix, from userid 106)
	id 1C042418C6FE; Mon, 28 Mar 2011 20:25:10 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Flag: NO
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-k.b-one.net (Postfix) with ESMTP id 25F144C5BDD8 for
 <info@awaresystems.be>; Mon, 28 Mar 2011 20:24:55 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 455E186C39; Mon, 28 Mar 2011
 13:22:54 -0500 (EST)
Received: from hanghau.pacific.net.hk (hanghau.pacific.net.hk
 [202.64.33.147]) by lists.maptools.org (Postfix) with ESMTP id EB2D886AE8 for
 <tiff@lists.maptools.org>; Mon, 28 Mar 2011 13:22:18 -0500 (EST)
Received: from i7.coppice.org (9.160.232.220.dyn.pacific.net.hk
 [220.232.160.9]) by hanghau.pacific.net.hk with ESMTP id p2SIMFHN021598 for
 <tiff@lists.maptools.org>; Tue, 29 Mar 2011 02:22:17 +0800
Message-ID: <4D90D1D7.3070100@coppice.org>
Date: Tue, 29 Mar 2011 02:22:15 +0800
From: Steve Underwood <steveu@coppice.org>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13)
 Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Lightning/1.0b3pre
 Thunderbird/3.1.7
MIME-Version: 1.0
To: tiff@lists.maptools.org
Subject: [Tiff] TIFFReadCustomDirectory and TIFFWriteCustomDirectory
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

Hi,

I have started using TIFFReadCustomDirectory to access some special IFD 
blocks in TIFF-FX files. That seems to be working OK, but I can't find a 
way to do the opposite, and write similar special IFD blocks. I found 
TIFFWriteCustomDirectory, but it doesn't seem to be documented, and 
doesn't seem to be a corollary of TIFFReadCustomDirectory. When I try 
calling TIFFWriteCustomDirectory(tiff_file, &offset); it always returns 
zero for the offset, and I can't seem to find a related block of tags in 
the resulting file, if I do a hex dump of that file. Can anyone help?

Steve

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