| 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 17:56 "Re: bug in tiff2pdf, when handling Lab images", by Sergius BobrovskyHello, recently, I've faced this problem too. trying to fix this bug i found that tiff2pdf just do not write /BlackPoint before second array. 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 |
|||||||