Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-i.one.com (mx-i.one.com [91.198.169.56])
	by mail6.local (Postfix) with ESMTP id A916880103402
	for <filtered@awaresystems.be>; Wed, 28 Nov 2012 18:09:56 +0100 (CET)
X-Virus-Scanned: by one.com
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
Received-SPF: pass (mx-i: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.220.176 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176])
	by mx-i.one.com (Postfix) with ESMTP id 3F80C1D2E9A8
	for <filtered@awaresystems.be>; Wed, 28 Nov 2012 17:09:56 +0000 (UTC)
Received: by mail-vc0-f176.google.com with SMTP id fl13so18899237vcb.21
        for <filtered@awaresystems.be>; Wed, 28 Nov 2012 09:09:55 -0800 (PST)
Received: by 10.52.71.44 with SMTP id r12mr25451139vdu.41.1354122595384;
        Wed, 28 Nov 2012 09:09:55 -0800 (PST)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.58.144.166 with SMTP id sn6csp708520veb;
        Wed, 28 Nov 2012 09:09:55 -0800 (PST)
Received: by 10.220.8.138 with SMTP id h10mr28596256vch.35.1354122594052;
        Wed, 28 Nov 2012 09:09:54 -0800 (PST)
Received-SPF: neutral (google.com: 91.198.169.55 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=91.198.169.55;
Received: by 10.230.205.139 with POP3 id fq11mf8620351vbb.34;
        Wed, 28 Nov 2012 09:09:53 -0800 (PST)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-h.one.com (mx-h.one.com [91.198.169.55])
	by mail6.local (Postfix) with ESMTP id 8D75780150A68
	for <info@awaresystems.be>; Wed, 28 Nov 2012 18:09:45 +0100 (CET)
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-h.one.com (Postfix) with ESMTP id 2DE201328922
	for <info@awaresystems.be>; Wed, 28 Nov 2012 17:09:45 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id B985443A047;
	Wed, 28 Nov 2012 12:08:15 -0500 (EST)
Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com
	[209.85.217.172])
	by lists.maptools.org (Postfix) with ESMTPS id 30D8A43A047
	for <tiff@lists.maptools.org>; Wed, 28 Nov 2012 11:45:50 -0500 (EST)
Received: by mail-lb0-f172.google.com with SMTP id y2so11788074lbk.3
	for <tiff@lists.maptools.org>; Wed, 28 Nov 2012 08:45:55 -0800 (PST)
MIME-Version: 1.0
Received: by 10.152.113.225 with SMTP id jb1mr18539332lab.23.1354121154947;
	Wed, 28 Nov 2012 08:45:54 -0800 (PST)
Received: by 10.152.13.227 with HTTP; Wed, 28 Nov 2012 08:45:54 -0800 (PST)
Date: Wed, 28 Nov 2012 17:45:54 +0100
Message-ID: <CADH5xWrpZzSL3GWgD77i1eN2YqD+aAzDmQ7DY9_0YaE7kaJcNw@mail.gmail.com>
From: Jorge Martin <jormarfe@gmail.com>
To: "tiff@lists.maptools.org" <tiff@lists.maptools.org>
Subject: [Tiff] Error in TIFFWriteDirectory when writting multi page TIFF
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: multipart/mixed; boundary="===============0478508030=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============0478508030==
Content-Type: multipart/alternative; boundary=f46d0408d91b6c6b1104cf90e672

--f46d0408d91b6c6b1104cf90e672
Content-Type: text/plain; charset=ISO-8859-1

Hello,


    I am trying to write multi-file TIFF. In some cases I am obtaining the
following error from TIFFWriteDirectory function:

TIFFLinkDirectory: Error fetching directory count.

     TIFFReadDirectory help says:

      "*Error fetching directory count*. A read error occurred when
fetching the directory count field for a previous directory. This can occur
when setting up a link to the directory that is being written."

    But I do not understand the origin of the error and how to solve this
problem, because it only writes the first image.

    Does anyone know how to solve this error?

Best Regards,

Jorge

--f46d0408d91b6c6b1104cf90e672
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,<div><br></div><div><br></div><div>=A0 =A0 I am trying to write <span=
 class=3D"" style=3D"background-color:yellow"><span class=3D"" style>multi<=
/span></span>-file TIFF. In some cases I am obtaining the following error f=
rom <span class=3D"" style>TIFFWriteDirectory</span> function:=A0</div>
<div><br></div><div><span class=3D"" style>TIFFLinkDirectory</span>: Error =
fetching directory count.<br></div><div><br></div><div>=A0 =A0 =A0<span cla=
ss=3D"" style>TIFFReadDirectory</span> help says:</div><div><br></div><div>=
=A0 =A0 =A0 &quot;<b style=3D"color:rgb(0,0,0);font-family:&#39;Times New R=
oman&#39;;font-size:medium">Error fetching directory count</b><span style=
=3D"color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium=
">. A read error occurred when fetching the directory count field for a pre=
vious directory. This can occur when setting up a link to the directory tha=
t is being written.&quot;</span></div>
<div><br></div><div>=A0 =A0 But I do not understand=A0the origin of the err=
or and how to solve this problem, because it only writes the first image.=
=A0</div><div><br></div><div>=A0 =A0 Does anyone know how to solve this err=
or?</div><div>
<br></div><div>Best Regards,</div><div><br></div><div>Jorge</div>

--f46d0408d91b6c6b1104cf90e672--

--===============0478508030==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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