Browse Source

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
tags/fop-2_1
Simon Steiner 8 years ago
parent
commit
d3369072b6

BIN
lib/xmlgraphics-commons-svn-trunk.jar View File


+ 1
- 0
src/java/org/apache/fop/render/afp/AFPPainter.java View File

//AFP doesn't support alpha channels //AFP doesn't support alpha channels
hints.put(ImageProcessingHints.TRANSPARENCY_INTENT, hints.put(ImageProcessingHints.TRANSPARENCY_INTENT,
ImageProcessingHints.TRANSPARENCY_INTENT_IGNORE); ImageProcessingHints.TRANSPARENCY_INTENT_IGNORE);
hints.put("CMYK", getDocumentHandler().getFS45());
return hints; return hints;
} }



Loading…
Cancel
Save