| 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:12 "Re: bug in tiff2pdf, when handling Lab images", by Manlio Perillo-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lee Howard ha scritto: > Manlio Perillo wrote: >> 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: >> > > That's the "old" domain before it was hijacked. Now look for: > > http://remotesensing.org/libtiff/ > Ah, ok; thanks. > [...] >> 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] >> >>>> ] > > If you look at the code this appears to be intentional: > > [...] > > Are you sure that this is the problem? Are you sure that it's not > something else? > Yes, I'm sure. Try to convert this image: http://www.colour.org/tc8-03/images/ski_pg/Ski_TC8-03_abs.tif It will fails to open with Acrobat Reader. Ghostscript will report an human readable error: File has an unbalanced >> (close dictionary). Removing the duplicate [0.9643 1.0000 0.8251] solves the problem; since it is not valid PDF syntax. > Thanks, > > Lee. > Regards Manlio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAks45uEACgkQscQJ24LbaUTGlgCePBRZlxaKJfs7hXLKlGu19BbV lNAAoJQpwZkICXQ+rDn5LZPvNi22SUjQ =HExm -----END PGP SIGNATURE----- |
|||||||