Summary: | Lab image results in strange Decode array and wrong colours in ps2write output | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Ken Sharp <ken.sharp> |
Component: | PS Writer | Assignee: | Ken Sharp <ken.sharp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex |
Priority: | P4 | ||
Version: | master | ||
Hardware: | All | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Attachments: | reduced specimen |
Description
Ken Sharp
2011-07-08 08:36:43 UTC
Created attachment 7652 [details]
reduced specimen
Reduced PDF file to exhibit the problem.
Besides ps2write, the problem affects pdfwrite device. The latter is easier to debug. Incorrect colors can be observed at every compatibility level. On level 1.3 and higher correct color can be restored by commenting out /Decode[0 100 -128 127 -128 127] from the PDF file. Level 1.2 has some other problems that cannot be fully fixed by the above hack. (In reply to comment #2) > Besides ps2write, the problem affects pdfwrite device. The latter is easier to > debug. I don't see this, I see that the image in the PDF file has an ICCBased colour space, but otherwise appears correct (there is no Decode array) Presumably Alex must be using a different command line to me. Commit: ef2a4bfbf4f590635277299bf0e0d7aaea1f392b http://ghostscript.com/pipermail/gs-cvs/2012-January/014097.html resolves this by correctly converting images in CIEBased colour spaces. |