summaryrefslogtreecommitdiff
path: root/gs/base/gxiscale.c
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2012-10-09 21:17:00 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2012-10-09 21:17:31 -0700
commit0dc01b095200fa4e04a9934c58ad97ff50c56916 (patch)
tree0fd8206fa5db585f986281d20061b9bb236958ec /gs/base/gxiscale.c
parenta650680c5be1e034b8d4a5f6cd2704ae65182e43 (diff)
downloadghostpdl-0dc01b095200fa4e04a9934c58ad97ff50c56916.tar.gz
Addition of an internal CMM for direct color replacement of text, graphic and image RGB or CMYK colors
This option is used with the -sSourceObjectICC file. Similar to the option to set None to request that no color management be used for a particular object type, here we use the keyword Replace to indicate that for that object type the colorants will be replaced by the method set up in gsicc_replacecm.c Currently to demonstrate its usage it provides a "negative" color mapping operation.
Diffstat (limited to 'gs/base/gxiscale.c')
-rw-r--r--gs/base/gxiscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/gxiscale.c b/gs/base/gxiscale.c
index 1781ca585..fc23ca932 100644
--- a/gs/base/gxiscale.c
+++ b/gs/base/gxiscale.c
@@ -341,7 +341,7 @@ gs_image_class_0_interpolate(gx_image_enum * penum)
rendering_params.override_icc = false;
rendering_params.preserve_black = gsBKPRESNOTSPECIFIED;
rendering_params.rendering_intent = penum->pis->renderingintent;
- rendering_params.use_cm = true;
+ rendering_params.cmm = gsCMM_DEFAULT;
if (gs_color_space_is_PSCIE(penum->pcs) && penum->pcs->icc_equivalent != NULL) {
pcs = penum->pcs->icc_equivalent;
} else {