summaryrefslogtreecommitdiff
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/Use.htm15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/Use.htm b/doc/Use.htm
index 86668c1c4..e09b3a4c9 100644
--- a/doc/Use.htm
+++ b/doc/Use.htm
@@ -3451,7 +3451,8 @@ object types and do custom color replacements. An example file is given in
Profiles to demonstrate this method of specification are also
included in this folder. Note that if objects are colorimetrically
specified through this mechanism other operations like -dImageIntent,
--dOverrideICC, have no affect. See further details in the document
+-dOverrideICC, have no affect. Also see below the interaction with
+the -dDeviceGrayToK option. See further details in the document
<a href="GS9_Color_Management.pdf">GS9 Color Management</a>.</dd>
</dl>
@@ -3463,7 +3464,17 @@ pure K when the output device is CMYK based. This may not
always be desired. In particular, it may be desired to map
from the gray ICC profile specified by -sDefaultGrayProfile
to the output device profile. To achieve this, one should
- specify -dDeviceGrayToK=false.</dd>
+ specify -dDeviceGrayToK=false.
+Note that this option may not have any effect in cases where
+SourceObjectICC settings are made for gray objects. In particular,
+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.</dd>
</dl>
<dl>