diff options
author | Simon Steiner <ssteiner@apache.org> | 2015-11-10 11:56:11 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2015-11-10 11:56:11 +0000 |
commit | d3369072b6ae55ce000709f01248c18aa4dee850 (patch) | |
tree | 2684e4d7f838a6b2fe80ecc94590fb2bca5d4c35 /src/java | |
parent | ce5a28dd69c65f03014c89462bffdccd1e7cd908 (diff) | |
download | xmlgraphics-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.java | 1 |
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; } |