From b35843cb0d2d655a20929b96737ee736924afe5e Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Fri, 20 Aug 2010 09:58:09 +0000 Subject: [PATCH] Enabling CMYK encoding for PDF output (applies to decoded bitmap images). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@987448 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/pdf/ImageRenderedAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/render/pdf/ImageRenderedAdapter.java b/src/java/org/apache/fop/render/pdf/ImageRenderedAdapter.java index 27d25e15b..e34165d5a 100644 --- a/src/java/org/apache/fop/render/pdf/ImageRenderedAdapter.java +++ b/src/java/org/apache/fop/render/pdf/ImageRenderedAdapter.java @@ -66,7 +66,7 @@ public class ImageRenderedAdapter extends AbstractImageAdapter { */ public ImageRenderedAdapter(ImageRendered image, String key) { super(image, key); - this.encodingHelper = new ImageEncodingHelper(image.getRenderedImage()); + this.encodingHelper = new ImageEncodingHelper(image.getRenderedImage(), true); } /** -- 2.39.5