Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-r.one.com (mx-r.one.com [91.198.169.249])
	by mail6.local (Postfix) with ESMTP id 74C668014FAE9
	for <filtered@awaresystems.be>; Wed, 15 May 2013 04:48:00 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "MIME-Version"
Received-SPF: pass (mx-r: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.215.52 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52])
	by mx-r.one.com (Postfix) with ESMTP id 32EC51AC8A4C
	for <filtered@awaresystems.be>; Wed, 15 May 2013 02:48:00 +0000 (UTC)
Received: by mail-la0-f52.google.com with SMTP id fo13so1275262lab.11
        for <filtered@awaresystems.be>; Tue, 14 May 2013 19:47:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received
         :domainkey-status:received-spf:x-gmail-fetch-info:delivered-to
         :x-virus-scanned:x-amavis-alert:x-greylist:mime-version:x-received
         :date:message-id:from:to:subject:x-beenthere:x-mailman-version
         :precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:content-type:mime-version:sender:errors-to;
        bh=kG5uxal0cq1X+ie4g/DA8MNGDdP7AC9ou02cFKFS1Cw=;
        b=FkOh/ZO2fI6kzAEJgphWeMfa8AM/AKQuADYMPT945Ag3TAFnbarjppfxL2KEdHjY76
         3wrN4iyA+SKyfaTEDLCewW4eOJh33hQPouOgFVOJCHVKPOUCosQPHQhlAdWA4LUPVIi/
         zo2XirJR07hlZABNqjPANo0qaAPwlQ2aqdYKo9NMXeEvaL9Hh92lMGR8EQT+rjYJIM8P
         LzB3UVLAcYhfC0uodM/+KDlRhlsAycG9QEiliUWPwLOyK+1SQUuotjEMgwjwyWD1LtRT
         HIUrSnTQenkveaHA6y/gWqiJ6++kFlC0pVnni3aU4/p0olTbaVI6P4vGfdezkkkLzv+j
         lUEA==
X-Received: by 10.112.155.202 with SMTP id vy10mr16602397lbb.51.1368586079375;
        Tue, 14 May 2013 19:47:59 -0700 (PDT)
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.114.29.36 with SMTP id g4csp89811ldh;
        Tue, 14 May 2013 19:47:58 -0700 (PDT)
X-Received: by 10.112.89.104 with SMTP id bn8mr16775052lbb.92.1368586076900;
        Tue, 14 May 2013 19:47:56 -0700 (PDT)
DomainKey-Status: bad format
Received-SPF: neutral (google.com: 91.198.169.248 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=91.198.169.248;
Received: by 10.112.31.70 with POP3 id y6mf789150lbh.3;
        Tue, 14 May 2013 19:47:56 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-q.one.com (mx-q.one.com [91.198.169.248])
	by mail6.local (Postfix) with ESMTP id 985C68014FAE9
	for <info@awaresystems.be>; Wed, 15 May 2013 04:28:56 +0200 (CEST)
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 (ks365428.kimsufi.com [94.23.4.142])
	by mx-q.one.com (Postfix) with ESMTP id 648C930F309
	for <info@awaresystems.be>; Wed, 15 May 2013 02:28:55 +0000 (UTC)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id B949A35C027;
	Tue, 14 May 2013 21:27:53 -0500 (EST)
Received: from mail-lb0-f195.google.com (mail-lb0-f195.google.com
	[209.85.217.195])
	by lists.maptools.org (Postfix) with ESMTPS id 2A7A235C025
	for <tiff@lists.maptools.org>; Tue, 14 May 2013 21:26:26 -0500 (EST)
Received: by mail-lb0-f195.google.com with SMTP id 13so314786lba.6
	for <tiff@lists.maptools.org>; Tue, 14 May 2013 19:26:25 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.152.7.102 with SMTP id i6mr16714764laa.18.1368584785080;
	Tue, 14 May 2013 19:26:25 -0700 (PDT)
Received: by 10.114.75.236 with HTTP; Tue, 14 May 2013 19:26:25 -0700 (PDT)
Date: Wed, 15 May 2013 10:26:25 +0800
Message-ID: <CAP2qJtGSBXXR8jGqP1=34hkD1D40-e+nT4q4be+pbPnAHdnZVg@mail.gmail.com>
From: tiuser Lassei <tiuser1234@gmail.com>
To: tiff@lists.maptools.org
Subject: [Tiff] TIFF conversion error
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="===============1354337689=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============1354337689==
Content-Type: multipart/alternative; boundary=001a11c2901cf5b5b604dcb879a1

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

Hello,

I have several TIFFs that I need to convert to PNG and I'm using
imagemagick, which uses libtiff if i'm not mistaken, as a commandline tool
in the backend.

The problem is that the some of the tiffs are experiencing an error during
conversion(http://www.2shared.com/complete/vnb96t_9/error.html).
convert.exe: Unknown field with tag 292 (0x124) encountered.
`TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/824.
convert.exe: Bad code word at line 5151 of strip 0 (x 3744). `Fax4Decode' @
error/tiff.c/TIFFErrors/562.

However, the TIFF can be viewed properly in the IMDisplay and other TIFF
viewers and ImageMagick's identify.exe doesn't encounter the error.
The PNG image is actually generated (so far there is no noticeable
rendering errors) even though the above error is encountered however my
program checks the error status which will be set to non-zero and the
program will mark the conversion as failed.

From my initial investigation, this seems an error related to the
compression used in TIFF (and I'm thinking that the underlying libtiff is
throwing this). I'm not sure if this bug is related (
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630042) Though I can't
find a post with the exact error as mine.

Can someone advise the cause and if the error can be ignored?

I can ignore the above error via handling in my program and be satisfied
with the PNG but I'm reluctant as I do not really know the exact cause of
this error and it seems like the error message used is a general one (can i
use "Fax4Decode' @ error/tiff.c/TIFFErrors/562" as the specific error
indicator so I can ignore it?).

Tested with: Windows XP SP2, ImageMagick-6.8.5-6 (portable version), I'm
not sure the version of the libtiff used by IM..

Thanks

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

<div dir=3D"ltr"><span class=3D""><span></span></span>

		<div class=3D""><br><div class=3D"">Hello, <br><br>I have several TIFFs t=
hat I need to convert to PNG and I&#39;m using imagemagick, which uses libt=
iff if i&#39;m not mistaken, as a commandline tool in the backend.<br><br>
The problem is that the some of the tiffs are experiencing an error during =
conversion(<a class=3D"" href=3D"http://www.2shared.com/complete/vnb96t_9/e=
rror.html">http://www.2shared.com/complete/vnb96t_9/error.html</a>).<br>con=
vert.exe: Unknown field with tag 292 (0x124) encountered. `TIFFReadDirector=
y&#39; @ warning/tiff.c/TIFFWarnings/824.<br>
convert.exe: Bad code word at line 5151 of strip 0 (x 3744). `Fax4Decode&#3=
9; @ error/tiff.c/TIFFErrors/562.<br><br>However, the TIFF can be viewed pr=
operly in the IMDisplay and other TIFF viewers and ImageMagick&#39;s identi=
fy.exe doesn&#39;t encounter the error.<br>
The
 PNG image is actually generated (so far there is no noticeable rendering e=
rrors) even though the above error is=20
encountered however my program checks the error status which will be set
 to non-zero and the program will mark the conversion as failed. <br><br>Fr=
om
 my initial investigation, this seems an error related to the=20
compression used in TIFF (and I&#39;m thinking that the underlying libtiff=
=20
is throwing this).  I&#39;m not sure if this bug is related (<a class=3D"" =
href=3D"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D630042">http://b=
ugs.debian.org/cgi-bin/bugreport.cgi?bug=3D630042</a>) Though I can&#39;t f=
ind a post with the exact error as mine.<br>
<br>Can someone advise the cause and if the error can be ignored?<br><br>I
 can ignore the above error via handling in my program and be satisfied=20
with the PNG but I&#39;m reluctant as I do not really know the exact cause=
=20
of this error and it seems like the error message used is a general one=20
(can i use &quot;Fax4Decode&#39; @ error/tiff.c/TIFFErrors/562&quot; as the=
 specific=20
error indicator so I can ignore it?).<br><br>Tested with: Windows XP SP2, I=
mageMagick-6.8.5-6 (portable version), I&#39;m not sure the version of the =
libtiff used by IM..<br><br>Thanks</div>

		=09

		</div></div>

--001a11c2901cf5b5b604dcb879a1--

--===============1354337689==
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/
--===============1354337689==--
