Bug 691470

Summary: PDF 1.7 FTS: Unknown color space method in JPX stream.
Product: Ghostscript Reporter: Alex Cherepanov <alex>
Component: PDF InterpreterAssignee: Michael Vrhel <michael.vrhel>
Status: NOTIFIED FIXED    
Severity: normal CC: henry.stiles
Priority: P1    
Version: master   
Hardware: PC   
OS: Linux   
Customer: 532 Word Size: ---
Attachments: patch

Description Alex Cherepanov 2010-07-18 15:37:11 UTC
Many files display the following warning:
**** Unknown color space method in JPX stream.
**** Warning: image has no /ColorSpace key; assuming /DeviceRGB.
Some images in the files, presumably affected by the warning,
are rendered incorrectly.

fts_17_1700_a4.pdf
fts_17_1701_a4.pdf
fts_17_1702_a4.pdf
fts_17_1703_a4.pdf
fts_18_1805_a4.pdf
fts_18_1812_a4.pdf
Comment 1 Ray Johnston 2010-07-18 18:29:24 UTC
Update to reflect customer status and ID.
Comment 2 Alex Cherepanov 2010-07-23 20:15:14 UTC
"Unknown color space method" is an unrestricted ICC-based color space but
setting it now will cause PS errors (instead of wrong images) because
it's not clear yet what to do with alpha channels.
Comment 3 Henry Stiles 2010-07-27 17:12:21 UTC
Eventually we want to move to openjpeg but assigning to Michael since he has a workaround in Jasper that might address this issue.
Comment 4 Alex Cherepanov 2010-08-17 01:18:30 UTC
Created attachment 6665 [details]
patch

Don't include opacity channels in the number-of-components count.
Recognize general ICC profile (type 3) and construct a corresponding
ICC-based color space.

This patch fixes 
fts_17_1702_a4.pdf
fts_17_1703_a4.pdf

Other problems are caused by mis-interpretation of the opacity
layer and tracked by the bug 691489.
Comment 5 Alex Cherepanov 2010-08-17 01:27:34 UTC
The patch has been committed as a rev. 11636.
Comment 6 Marcos H. Woehrmann 2011-09-18 21:46:24 UTC
Changing customer bugs that have been resolved more than a year ago to closed.