summaryrefslogtreecommitdiff
path: root/base/gsicc_cms.h
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2022-08-04 12:36:06 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2022-08-04 16:05:51 -0700
commit983e61622a53860d3c427e58a517bbdc83b88edc (patch)
tree5754b4c2d7f62f65c4a26d644f470dd4d4ffb199 /base/gsicc_cms.h
parent1bb1ab40386e546c716ef6e745496919f1802a0b (diff)
downloadghostpdl-983e61622a53860d3c427e58a517bbdc83b88edc.tar.gz
Bug 705717: Gray settings in -sSourceObjectICC
The gray profiles were not getting set properly when we set the option to NONE in the SourceObjectICC file for Text, Graphics and Images. Note that the interaction of -sSourceObjectICC and -dDeviceGrayToK=true/false is as follows: If no gray settings are made in SourceObjectICC, and there is DeviceGray content present in the source file, -dDeviceGrayToK=true/false will be honored. If the gray objects in SourceObjectICC are set to None, which implies that ICC color management is not to be applied to these objects, then they are treated as DeviceGray and always mapped to K values in a CMYK target device, regardless of the settings of -dDeviceGrayToK (i.e. there is no color management). If instead, the gray objects in SourceObjectICC are set to a specific ICC profile, then they are no longer DeviceGray but are ICC colors. They will be color managed, regardless of the setting of -dDeviceGrayToK.
Diffstat (limited to 'base/gsicc_cms.h')
-rw-r--r--base/gsicc_cms.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gsicc_cms.h b/base/gsicc_cms.h
index d3e0e1dee..8f768c7ba 100644
--- a/base/gsicc_cms.h
+++ b/base/gsicc_cms.h
@@ -41,7 +41,7 @@ int gsicc_mcm_begin_monitor(gsicc_link_cache_t *cache, gx_device *dev);
gsicc_link_t* gsicc_rcm_get_link(const gs_gstate *pgs, gx_device *dev,
gsicc_colorbuffer_t data_cs);
gsicc_link_t* gsicc_nocm_get_link(const gs_gstate *pgs, gx_device *dev,
- gs_color_space_index src_index );
+ int num_input );
gcmmhprofile_t gscms_get_profile_handle_mem(unsigned char *buffer,
unsigned int input_size,
gs_memory_t *mem);