summaryrefslogtreecommitdiff
path: root/gs/psi
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2011-11-17 10:19:42 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2011-12-05 10:03:47 -0800
commit2cde54397abe935ff96300a4ac2588b40ad68d2b (patch)
tree1e8917a70d80e5ce87932da2693bc51c363cd96c /gs/psi
parent224672fa4af11c4723c38ea11b4d51503a96f609 (diff)
Embedding of device ICC profile into JPEG output device
Addresses bug 692186. This includes the fix to make sure the profile is not used for pdfwrite image output.
Diffstat (limited to 'gs/psi')
-rw-r--r--gs/psi/zfdcte.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gs/psi/zfdcte.c b/gs/psi/zfdcte.c
index a20ceeb97..c914fd07a 100644
--- a/gs/psi/zfdcte.c
+++ b/gs/psi/zfdcte.c
@@ -75,6 +75,7 @@ zDCTE(i_ctx_t *i_ctx_p)
/* Make sure we get at least a full scan line of input. */
state.scan_line_size = jcdp->cinfo.input_components *
jcdp->cinfo.image_width;
+ state.icc_profile = NULL;
jcdp->templat.min_in_size =
max(s_DCTE_template.min_in_size, state.scan_line_size);
/* Make sure we can write the user markers in a single go. */