summaryrefslogtreecommitdiff
path: root/base/gxblend1.c
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2022-02-28 21:08:47 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2022-03-02 14:19:23 -0800
commit8f0ea507e3b3383dbc9b93c43399dd4745810ad3 (patch)
tree6f1469f02480d5b1c96bb3129f5a7e6155a6a699 /base/gxblend1.c
parent418295bc6028635222e1d871b73230c761a87242 (diff)
downloadghostpdl-8f0ea507e3b3383dbc9b93c43399dd4745810ad3.tar.gz
Overprint simulation and OutputIntent interaction
In cases where -dOverprint=/simulate and -dUsePDFX3Profile are used, if the page has overprint and no transparency push the pdf14 device and render the page to a transparency buffer to the Output intent color space. If the target device has a different ICC profile than the output intent (specified with something like -sOutputICCProfile="Fogra39.icc") then convert the output intent rendered buffer to the target device color space. Also make sure that the tiff device do not use the wrong profile in the header. Additionally, a problem was found where the pdf14 device was setting up color conversions using the perceptual rendering intent. Those transforms should be using the colorimetric rendering intent.
Diffstat (limited to 'base/gxblend1.c')
-rw-r--r--base/gxblend1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxblend1.c b/base/gxblend1.c
index fe5b92ec1..2b649a413 100644
--- a/base/gxblend1.c
+++ b/base/gxblend1.c
@@ -242,7 +242,7 @@ pdf14_preserve_backdrop_cm(pdf14_buf *buf, cmm_profile_t *group_profile,
rendering_params.graphics_type_tag = GS_IMAGE_TAG;
rendering_params.override_icc = false;
rendering_params.preserve_black = gsBKPRESNOTSPECIFIED;
- rendering_params.rendering_intent = gsPERCEPTUAL;
+ rendering_params.rendering_intent = gsRELATIVECOLORIMETRIC;
rendering_params.cmm = gsCMM_DEFAULT;
/* Request the ICC link for the transform that we will need to use */
icc_link = gsicc_get_link_profile(pgs, dev, tos_profile, group_profile,