summaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2015-11-10 11:56:11 +0000
committerSimon Steiner <ssteiner@apache.org>2015-11-10 11:56:11 +0000
commitd3369072b6ae55ce000709f01248c18aa4dee850 (patch)
tree2684e4d7f838a6b2fe80ecc94590fb2bca5d4c35 /src/java
parentce5a28dd69c65f03014c89462bffdccd1e7cd908 (diff)
downloadxmlgraphics-fop-d3369072b6ae55ce000709f01248c18aa4dee850.tar.gz
xmlgraphics-fop-d3369072b6ae55ce000709f01248c18aa4dee850.zip
FOP-2537: Support CMYK JPEG in AFP
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1713620 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/fop/render/afp/AFPPainter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/afp/AFPPainter.java b/src/java/org/apache/fop/render/afp/AFPPainter.java
index bfaa5db74..7304d2e52 100644
--- a/src/java/org/apache/fop/render/afp/AFPPainter.java
+++ b/src/java/org/apache/fop/render/afp/AFPPainter.java
@@ -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;
}