diff options
author | Stefan Kemper <stefan.kemper@artifex.com> | 2002-03-15 23:30:00 +0000 |
---|---|---|
committer | Stefan Kemper <stefan.kemper@artifex.com> | 2002-03-15 23:30:00 +0000 |
commit | c930ccd9dabda9520f6d3b8c7483d7029d13e5c5 (patch) | |
tree | 095dc8f5c2e21c48de3d468d932be352367496f8 | |
parent | 706213e88fd701febbd928841a56e5dbcd6ab8c2 (diff) |
Raph's patch: Forces a linear gamma instead of a 2.2 curve. This gives good results with the clj4550 matching input to output gamma. This may break both gamma and lab pcl commands. Both of which are ignored by clj4500 and later.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1616 06663e23-700e-0410-b217-a244a6096597
-rw-r--r-- | pcl/pccrd.c | 3 | ||||
-rw-r--r-- | pcl/pccsbase.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/pcl/pccrd.c b/pcl/pccrd.c index d32aa544a..601fdcc30 100644 --- a/pcl/pccrd.c +++ b/pcl/pccrd.c @@ -51,6 +51,7 @@ private_st_crd_t(); * */ private const gs_vector3 dflt_WhitePoint = { 0.95, 1.0, 1.09 }; +private const gs_range3 dflt_RangePQR = {{ {0, 1}, {0, 1}, {0, 1.09} }}; private const gs_matrix3 dflt_MatrixLMN = { { 3.51, -1.07, 0.06 }, { -1.74, 1.98, -0.20 }, { -0.54, 0.04, 1.05 }, @@ -236,7 +237,7 @@ pcl_crd_build_default_crd( &dflt_WhitePoint, NULL, NULL, - NULL, + &dflt_RangePQR, &pcs->dflt_TransformPQR, &dflt_MatrixLMN, NULL, diff --git a/pcl/pccsbase.c b/pcl/pccsbase.c index 1ef1d9680..186dc3c44 100644 --- a/pcl/pccsbase.c +++ b/pcl/pccsbase.c @@ -171,7 +171,7 @@ private const pcl_cid_col_common_t chroma_default = { { 0.155, 0.070 }, /* "blue" chromaticity */ { 0.313, 0.329 } /* white chromaticity */ }, - { { 2.2, 1.0 }, { 2.2, 1.0 }, { 2.2, 1.0 } } + { { 1, 1.0 }, { 1, 1.0 }, { 1, 1.0 } } }; private const float lumchrom_xform_default[9] = { |