Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-g.one.com (mx-g.one.com [91.198.169.54])
	by mail6.local (Postfix) with ESMTP id 2B0F68014FAEC
	for <filtered@awaresystems.be>; Wed, 15 May 2013 16:19:12 +0200 (CEST)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-g: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.215.50 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50])
	by mx-g.one.com (Postfix) with ESMTP id E00796CBAB
	for <filtered@awaresystems.be>; Wed, 15 May 2013 14:19:11 +0000 (UTC)
Received: by mail-la0-f50.google.com with SMTP id ed20so1783370lab.23
        for <filtered@awaresystems.be>; Wed, 15 May 2013 07:19:11 -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-greylist:date:from:x-x-sender:to:in-reply-to
         :message-id:references:user-agent:mime-version:x-greylist:cc:subject
         :x-beenthere:x-mailman-version:precedence:list-id:list-unsubscribe
         :list-archive:list-post:list-help:list-subscribe:content-type
         :content-transfer-encoding:sender:errors-to;
        bh=pRI5w4LF1tVl9ubZbFBUxl5hv+p1lN7EteNsQ6WvplQ=;
        b=O8nYWXOdpRqxDzoqbOP7O5m5mqLhUFzBZQd+oXMNZJvBPtZd1bR2hnq8KhEZSv9fMK
         SNgMmhgJMfPdeDz7u6X0bMlswX+8ULY4C8XjNbuqU4iRHPkIaDYvQ2vTQzhXKflTPsoj
         BzSQMhEZt53xZYmMK3Kj0lqttE4yacHh6tX1pMoN31WYQo0csix4qRL+MsXyAUE90Dtf
         5hu8nUjkXjbOFD5OMqXDHn63PpOAl+BuGS3eOLmh2AqV5Vi0bH5QZrXCfqd+8KymNlTJ
         t4D9aur2buBC9k3SD0oddDqq9370w+qFYxvEPFCnqA2LekOu8HDwGW7tDMCu7t6sIzbt
         2y1w==
X-Received: by 10.112.181.163 with SMTP id dx3mr17607756lbc.126.1368627551364;
        Wed, 15 May 2013 07:19:11 -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 g4csp16174ldh;
        Wed, 15 May 2013 07:19:10 -0700 (PDT)
X-Received: by 10.112.89.168 with SMTP id bp8mr993778lbb.50.1368627549851;
        Wed, 15 May 2013 07:19:09 -0700 (PDT)
DomainKey-Status: bad format
Received-SPF: neutral (google.com: 195.47.247.150 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=195.47.247.150;
Received: by 10.152.98.244 with POP3 id el20mf1053797lab.29;
        Wed, 15 May 2013 07:19:09 -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-y.one.com (mx-y.one.com [195.47.247.150])
	by mail6.local (Postfix) with ESMTP id 048788014FAEC
	for <info@awaresystems.be>; Wed, 15 May 2013 15:40:38 +0200 (CEST)
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-y.one.com (Postfix) with ESMTP id 70CA01B82
	for <info@awaresystems.be>; Wed, 15 May 2013 14:20:16 +0000 (UTC)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id EEE2B35C03A;
	Wed, 15 May 2013 08:39:46 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id 5286835C039
	for <tiff@lists.maptools.org>; Wed, 15 May 2013 08:37:36 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	r4FDbWFC000486; Wed, 15 May 2013 08:37:32 -0500 (CDT)
Date: Wed, 15 May 2013 08:37:32 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: tiuser Lassei <tiuser1234@gmail.com>
In-Reply-To: <CAP2qJtGSBXXR8jGqP1=34hkD1D40-e+nT4q4be+pbPnAHdnZVg@mail.gmail.com>
Message-ID: <alpine.GSO.2.01.1305150834360.2267@freddy.simplesystems.org>
References: <CAP2qJtGSBXXR8jGqP1=34hkD1D40-e+nT4q4be+pbPnAHdnZVg@mail.gmail.com>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Wed, 15 May 2013 08:37:32 -0500 (CDT)
Cc: tiff@lists.maptools.org
Subject: Re: [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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Wed, 15 May 2013, tiuser Lassei wrote:

> 
> 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?

Libtiff is issuing these as warnings and ImageMagick is reporting them 
as warnings.  The warnings are issued due to libtiff encountering tags 
that it does not handle (usually proprietary tags).  Usually ignoring 
such tags is benign, but not always.  I think that ImageMagick 
provides an option to quench these warnings.  You might want to 
investigate that in an ImageMagick-related forum.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
