]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-2537: Support CMYK JPEG in AFP
authorSimon Steiner <ssteiner@apache.org>
Tue, 10 Nov 2015 11:56:11 +0000 (11:56 +0000)
committerSimon Steiner <ssteiner@apache.org>
Tue, 10 Nov 2015 11:56:11 +0000 (11:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1713620 13f79535-47bb-0310-9956-ffa450edef68

lib/xmlgraphics-commons-svn-trunk.jar
src/java/org/apache/fop/render/afp/AFPPainter.java

index 82ca2a684ddef0a50bcad296adf97b0818707116..94acd15c4e6787859dee336a7de8751db07ee6ed 100644 (file)
Binary files a/lib/xmlgraphics-commons-svn-trunk.jar and b/lib/xmlgraphics-commons-svn-trunk.jar differ
index bfaa5db74e0fd4cac46322e607c7547b6f32b5a1..7304d2e52b99c622fcafc7733132f1a73f89bc7f 100644 (file)
@@ -191,6 +191,7 @@ public class AFPPainter extends AbstractIFPainter<AFPDocumentHandler> {
         //AFP doesn't support alpha channels
         hints.put(ImageProcessingHints.TRANSPARENCY_INTENT,
                 ImageProcessingHints.TRANSPARENCY_INTENT_IGNORE);
+        hints.put("CMYK", getDocumentHandler().getFS45());
         return hints;
     }