AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2009.12.28 16:28 "bug in tiff2pdf, when handling Lab images", by Manlio Perillo
2009.12.28 16:59 "Re: bug in tiff2pdf, when handling Lab images", by Lee Howard
2009.12.28 17:12 "Re: bug in tiff2pdf, when handling Lab images", by Manlio Perillo
2009.12.28 17:44 "Re: bug in tiff2pdf, when handling Lab images", by Lee Howard
2009.12.28 17:51 "Re: bug in tiff2pdf, when handling Lab images", by Manlio Perillo
2009.12.28 17:56 "Re: bug in tiff2pdf, when handling Lab images", by Sergius Bobrovsky
2009.12.28 18:43 "Re: bug in tiff2pdf, when handling Lab images", by Toby Thain
2009.12.28 19:07 "Re: bug in tiff2pdf, when handling Lab images", by Toby Thain
2009.12.28 18:55 "Re: bug in tiff2pdf, when handling Lab images", by Sergius Bobrovsky
2009.12.28 19:46 "Re: bug in tiff2pdf, when handling Lab images", by Manlio Perillo
2009.12.28 19:52 "Re: bug in tiff2pdf, when handling Lab images", by Sergius Bobrovsky

2009.12.28 18:43 "Re: bug in tiff2pdf, when handling Lab images", by Toby Thain

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/