Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: <filtered@awaresystems.be>
Received: from mx8.public.one.com ([10.246.18.28])
	by mail6.local.one.com (Dovecot) with LMTP id 35JwH3xz41dvcwAAsyOMew
	for <filtered@awaresystems.be>; Thu, 22 Sep 2016 07:04:36 +0000
X-HalOne-ID: d221ec17-8092-11e6-b79e-549f350a57e2
Received: from mail-qk0-f182.google.com (unknown [209.85.220.182])
	by mx8.public.one.com (Halon Mail Gateway) with ESMTPS
	for <filtered@awaresystems.be>; Thu, 22 Sep 2016 07:04:35 +0000 (UTC)
Received: by mail-qk0-f182.google.com with SMTP id t7so68163888qkh.2
        for <filtered@awaresystems.be>; Thu, 22 Sep 2016 00:04:35 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :to:from:message-id:date:user-agent:mime-version:cc:subject
         :precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:mime-version:sender:errors-to;
        bh=6rK84NKsUbUjLHuX/DAcLCMaqvu8tIyrNjbZ9IKuAzE=;
        b=f0Z5JIcGQSil5tgSmVnDPo6p8R80tbXfAAbSvItzXvCbBemI4RS4IYUwSM2WwDElNU
         Z5qk92HoWXBS0F7oYKNL2QDBxcdKy4whFfcYumTOnDeHzE+pNJZTdBQz8X3r2ARTGHIq
         c0jEhB2QL6UWbtqUh+Uz9Crl6nNP9qHBy2mz2eYJI3x73KQwjR6Rmv+0q8L5mXhD6PDk
         DY6BTYxpMXcMNuS7cE64vyg2+NDEXFvX2ceZ+1+I2pj5lQ0XOIe2YRSNGJam5p69BDir
         b0f8ChMHZAhOXkBLAqYIyy3hX7HCQrpl72izeTO8r9wHp2mHDDy+fDYD2cnhx4rqa0w+
         Ctdw==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
X-Gm-Message-State: AA6/9Rkwapbm6VX6XiPzhqQrkUBGZrbf1xwstfwNvIkZtGQP8CIKipDt1V9epKjpWw8QDpMv0SgNhbcvnrPCl7ueMYjySks=
X-Received: by 10.55.154.20 with SMTP id c20mr373495qke.25.1474527874447;
        Thu, 22 Sep 2016 00:04:34 -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.55.161.4 with SMTP id k4csp2439249qke;
        Thu, 22 Sep 2016 00:04:33 -0700 (PDT)
X-Received: by 10.28.175.147 with SMTP id y141mr872892wme.9.1474527873600;
        Thu, 22 Sep 2016 00:04:33 -0700 (PDT)
Return-Path: <tiff-bounces@lists.maptools.org>
Received: from lists.maptools.org (ks365428.kimsufi.com. [94.23.4.142])
        by mx.google.com with ESMTP id c17si39178372wme.67.2016.09.22.00.04.32;
        Thu, 22 Sep 2016 00:04:33 -0700 (PDT)
Received-SPF: neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=94.23.4.142;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id DCBFE35C04C;
	Thu, 22 Sep 2016 02:03:38 -0500 (EST)
Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de
	[129.206.100.212])
	by lists.maptools.org (Postfix) with ESMTPS id 5717135C050
	for <tiff@lists.maptools.org>; Thu, 22 Sep 2016 02:03:23 -0500 (EST)
Received: from serv25.ub.uni-heidelberg.de (serv25.ub.uni-heidelberg.de
	[147.142.186.75])
	by relay.uni-heidelberg.de (8.15.2/8.15.2) with ESMTP id u8M73MQ7005350
	for <tiff@lists.maptools.org>; Thu, 22 Sep 2016 09:03:22 +0200
Received: from localhost (localhost [127.0.0.1])
	by serv25.ub.uni-heidelberg.de (Postfix) with ESMTP id 80ECD3FFE9;
	Thu, 22 Sep 2016 09:03:22 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ub.uni-heidelberg.de
Received: from serv25.ub.uni-heidelberg.de ([127.0.0.1])
	by localhost (serv25.ub.uni-heidelberg.de [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id OoPN518GLSlN; Thu, 22 Sep 2016 09:03:22 +0200 (CEST)
Received: from [147.142.85.36] (pers16.ub.uni-heidelberg.de [147.142.85.36])
	by serv25.ub.uni-heidelberg.de (Postfix) with ESMTP id 6A9363FF96;
	Thu, 22 Sep 2016 09:03:22 +0200 (CEST)
To: tiff@lists.maptools.org
From: Jochen Barth <barth@ub.uni-heidelberg.de>
Message-ID: <07521c1f-43cb-6654-8c15-37e493bd4de7@ub.uni-heidelberg.de>
Date: Thu, 22 Sep 2016 09:03:22 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Thunderbird/45.2.0
MIME-Version: 1.0
Cc: Leonhard Maylein <Maylein@ub.uni-heidelberg.de>
Subject: [Tiff] RichTIFFIPTC type TIFF_LONG?
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="===============0748955727=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

This is a multi-part message in MIME format.
--===============0748955727==
Content-Type: multipart/alternative;
 boundary="------------534AF563D60458349E71708C"

This is a multi-part message in MIME format.
--------------534AF563D60458349E71708C
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Dear list members,

tifftools are complaining about wrong data type in tag RichTIFFIPTC from 
my adobe photoshop generated tiffs;
when modifying libtiff/tif_dirinfo.c (libtiff-4.0.6 source)
by replacing this line
{ TIFFTAG_RICHTIFFIPTC, -3, -3, TIFF_LONG, 0, TIFF_SETGET_C32_UINT32, 
TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 1, "RichTIFFIPTC", NULL },
with this line
{ TIFFTAG_RICHTIFFIPTC, -3, -3, TIFF_UNDEFINED, 0, 
TIFF_SETGET_C32_UINT8, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 1, 
"RichTIFFIPTC", NULL },

The error message does not occur anymore. TIFF_BYTE does work also (I 
think to remember).

Is this a bug in libtiff or is the definition of RichTIFFIPTC not 
defined clearly enough?

Kind regards,
Jochen

-- 
J. Barth * IT, Universitaetsbibliothek Heidelberg * 06221 / 54-2580


--------------534AF563D60458349E71708C
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear list members,<br>
    <br>
    tifftools are complaining about wrong data type in tag RichTIFFIPTC
    from my adobe photoshop generated tiffs;<br>
    when modifying libtiff/tif_dirinfo.c (libtiff-4.0.6 source)<br>
    by replacing this line<br>
    { TIFFTAG_RICHTIFFIPTC, -3, -3, TIFF_LONG, 0,
    TIFF_SETGET_C32_UINT32, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 1,
    "RichTIFFIPTC", NULL },<br>
    with this line<br>
    { TIFFTAG_RICHTIFFIPTC, -3, -3, TIFF_UNDEFINED, 0,
    TIFF_SETGET_C32_UINT8, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 1,
    "RichTIFFIPTC", NULL },<br>
    <br>
    The error message does not occur anymore. TIFF_BYTE does work also
    (I think to remember).<br>
    <br>
    Is this a bug in libtiff or is the definition of RichTIFFIPTC not
    defined clearly enough?<br>
    <br>
    Kind regards,<br>
    Jochen<br>
    <pre class="moz-signature" cols="72">-- 
J. Barth * IT, Universitaetsbibliothek Heidelberg * 06221 / 54-2580
</pre>
  </body>
</html>

--------------534AF563D60458349E71708C--

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