Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-c.b-one.net (mx-c.one.com [91.198.169.50])
	by mail9.b-one.net (Postfix) with ESMTP id 075E340040B
	for <info@awaresystems.be>; Mon, 28 Dec 2009 19:49:24 +0100 (CET)
Received: by mx-c.b-one.net (Postfix, from userid 106)
	id E11A87742675; Mon, 28 Dec 2009 19:49:23 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 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-c.b-one.net (Postfix) with ESMTP id 1FEB17742671 for
 <info@awaresystems.be>; Mon, 28 Dec 2009 19:49:23 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id A34D11D213E1A; Mon, 28 Dec 2009
 13:48:36 -0500 (EST)
Received: from toronto2.smartgames.ca (toronto2.smartgames.ca
 [204.15.192.18]) by lists.maptools.org (Postfix) with ESMTP id 25DBC1D203587
 for <tiff@lists.maptools.org>; Mon, 28 Dec 2009 13:43:49 -0500 (EST)
Received: from [10.143.176.101] (unknown [10.143.176.101]) by
 toronto2.smartgames.ca (Postfix) with ESMTP id D955516C5A; Mon, 28 Dec 2009
 13:44:29 -0500 (EST)
In-Reply-To: <bfcb84c00912280956w4ac9b62ek6413dcdb77bd1cda@mail.gmail.com>
References: <4B38DCC8.9060203@gmail.com>
 <bfcb84c00912280956w4ac9b62ek6413dcdb77bd1cda@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Message-Id: <FDC9A747-CBBA-4AEB-AFB6-244A50F488A0@telegraphics.com.au>
From: Toby Thain <toby@telegraphics.com.au>
Date: Mon, 28 Dec 2009 13:43:14 -0500
To: Sergius Bobrovsky <sergius.bobrovsky@gmail.com>
X-Mailer: Apple Mail (2.753.1)
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] bug in tiff2pdf, when handling Lab images
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 28-Dec-09, at 12:56 PM, Sergius Bobrovsky wrote:

> Hello,
>
> recently, I've faced this problem too.
> trying to fix this bug i found that tiff2pdf just do not write
> /BlackPoint before second array.

How can the white and black points be the same?

--Toby


> in other words, correct dictionary should be something as following:
> /ColorSpace [/Lab <<
> /WhitePoint [0.9643 1.0000 0.8251]
> /BlackPoint [0.9643 1.0000 0.8251]
> /Range [-127 127 -127 127]
>>> ]
>
> it can be achieved by simply adding
> written += t2pWriteFile(output, (tdata_t)"/BlackPoint ", 12);
> before
> X_W = 0.3457F; /* 0.3127F; */ /* D50, commented D65 */
>
>
>
> On Mon, Dec 28, 2009 at 10:28 PM, Manlio Perillo
> <manlio.perillo@gmail.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi.
>>
>>
>> I have found a bug in tiff2pdf, when embedding a TIFF images having a
>> Lab color space.
>>
>> I'm reporting the bug here, since on the libtiff web site
>> (http://www.libtiff.org/bugs.html), the link to the bug traker is  
>> broken:
>> http://bugzilla.remotesensing.org/buglist.cgi?product=libtiff
>>
>> By the way, the link to this mailing list is broken, too.
>>
>>
>> The problem is with tiff2pdf writing two times the WhitePoint  
>> entry in
>> the Lab dictionary:
>>
>> /ColorSpace [/Lab <<
>> /WhitePoint [0.9643 1.0000 0.8251]
>> [0.9643 1.0000 0.8251]
>> /Range [-127 127 -127 127]
>>>> ]
>>
>>
>>
>> Regards  Manlio Perillo
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAks43MgACgkQscQJ24LbaUSGBQCfRx/KllvGYAugYS8Y+B6It6oH
>> 3KsAn07uuSp+2clGShZ+UaKq67ng5inw
>> =vMdm
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> Tiff mailing list: Tiff@lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/tiff
>> http://www.remotesensing.org/libtiff/
>>
>
>
>
> -- 
> Sergius Bobrovsky
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/

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