]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Enabling CMYK encoding for PDF output (applies to decoded bitmap images).
authorJeremias Maerki <jeremias@apache.org>
Fri, 20 Aug 2010 09:58:09 +0000 (09:58 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 20 Aug 2010 09:58:09 +0000 (09:58 +0000)
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

index 27d25e15b08f5ba39870203512959dfe47721597..e34165d5a6f110b6e05efa9d54bbc68168b28252 100644 (file)
@@ -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);
     }
 
     /**