From: Jeremias Maerki Date: Fri, 20 Aug 2010 09:58:09 +0000 (+0000) Subject: Enabling CMYK encoding for PDF output (applies to decoded bitmap images). X-Git-Tag: fop-1_1rc1old~455 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b35843cb0d2d655a20929b96737ee736924afe5e;p=xmlgraphics-fop.git 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 --- 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); } /**