Bug 692622 - Spurious warnings on Indexed colour spaces ?
Summary: Spurious warnings on Indexed colour spaces ?
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: master
Hardware: PC Windows Vista
: P4 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 14:33 UTC by Ken Sharp
Modified: 2011-11-09 18:16 UTC (History)
0 users

See Also:
Customer: 393
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Sharp 2011-10-21 14:33:41 UTC
Created attachment 8034 [details]
offending file

The attached file raises a warning that the Indexed space has a short lookup table for every Indexed space in the document.

I'm not convinced this is correct, and I'm wondering if the PDF interpreter is getting confused by using the stream length of a compressed stream to determine if there is sufficient data for the lookup table.

If I decompress the file suing either pdfclean or pdftk the warnings go away....
Comment 1 Alex Cherepanov 2011-10-22 23:51:21 UTC
Fix indexed color space processing code that miscalculated
the length of an index table when the table stream was compressed.

The patch has been committed as
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=33e827eb32d282a550e2f7a9fdb786dd777b0903