Bug 692622

Summary: Spurious warnings on Indexed colour spaces ?
Product: Ghostscript Reporter: Ken Sharp <ken.sharp>
Component: PDF InterpreterAssignee: Alex Cherepanov <alex>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P4    
Version: master   
Hardware: PC   
OS: Windows Vista   
Customer: 393 Word Size: ---

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