Bug 650802

Summary: Wrong CIE color rendering
Product: Ghostscript Reporter: Igor Melichev <igor.melichev>
Component: Graphics LibraryAssignee: Dan Coby <dan.coby>
Status: NOTIFIED FIXED    
Severity: normal CC: dcarlin
Priority: P2    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---
Attachments: sRGB CRD patch

Description Igor Melichev 2002-12-09 03:27:15 UTC
Originally reported by: igorm@users.sourceforge.net
Regarding to the test file hack3[1].eps attached to bug 
#647124 :

GS renders it to display with slightly blue background.
Adobe CPSI paints it with white background.
Distilled with Adobe Distiller 5.0 and viewed with Acrobat 
reader 4 and 5 renders white background.
So it's an incompatibility.

The document sets /WhitePoint [0.9642 1.0000 0.8249]. 
Probably something is wrong in GS with mapping the 
white point to device color.
Comment 1 Alex Cherepanov 2003-04-03 09:54:29 UTC
Default Ghostscript CRD does chromatic adaptation in RGB color space.
This is definitely wrong. In practical terms it means that
/MatricPQR is missing from the CRD.

HP has published a public domain CDR for sRGB color space.
http://www.srgb.com/postscript/srgbpscrd.htm
My patch is similar to sRGB but uses C implementation of TransformPQR
Comment 2 Alex Cherepanov 2003-04-03 09:57:37 UTC
Created attachment 64 [details]
sRGB CRD patch
Comment 3 Alex Cherepanov 2003-04-10 09:42:34 UTC
The patch is committed to HEAD branch.
Comment 4 Dan Coby 2003-04-10 12:46:38 UTC
*** Bug 686752 has been marked as a duplicate of this bug. ***