| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.12.28 19:07 "Re: bug in tiff2pdf, when handling Lab images", by Toby ThainOn 28-Dec-09, at 1:55 PM, Sergius Bobrovsky wrote: >> How can the white and black points be the same? > > I'm not sure. But it's the result of [different] calculations in > tiff2pdf code. Also, Acrobat accepts it (see attached file). I doubt it is correct. There may be another bug. > > In any case, a pdf dictionary allowed to contain only Name - Value > pairs. So, /WhitePoint name followed by two [0.9643 1.0000 0.8251] > values is simply incorrect in terms of pdf syntax. Of course. --T > >> >>> 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/ >> >> > > > > -- > Sergius Bobrovsky<lab8-lzw.tif.zip> |
|||||||