Bug 650802 - Wrong CIE color rendering
Summary: Wrong CIE color rendering
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Graphics Library (show other bugs)
Version: master
Hardware: All All
: P2 normal
Assignee: Dan Coby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-09 03:27 UTC by Igor Melichev
Modified: 2008-12-19 08:31 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
sRGB CRD patch (2.75 KB, patch)
2003-04-03 09:57 UTC, Alex Cherepanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***