aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2010-08-20 09:58:09 +0000
committerJeremias Maerki <jeremias@apache.org>2010-08-20 09:58:09 +0000
commitb35843cb0d2d655a20929b96737ee736924afe5e (patch)
tree94e982c858e8ae70a1b623e1b7b7c0dec4639901
parente3be796dcb83fec3632cb42d38d6297f64b0ba44 (diff)
downloadxmlgraphics-fop-b35843cb0d2d655a20929b96737ee736924afe5e.tar.gz
xmlgraphics-fop-b35843cb0d2d655a20929b96737ee736924afe5e.zip
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
-rw-r--r--src/java/org/apache/fop/render/pdf/ImageRenderedAdapter.java2
1 files changed, 1 insertions, 1 deletions
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);
}
/**