git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193388
13f79535-47bb-0310-9956-
ffa450edef68
p = p + "/BitsPerComponent " + fopimage.getBitsPerPixel() + "\n";
ColorSpace cs = fopimage.getColorSpace();
p = p + "/ColorSpace /" + cs.getColorSpacePDFString() + "\n";
+ if (fopimage.isTransparent()) {
+ PDFColor transp = fopimage.getTransparentColor();
+ p = p + "/Mask [" + transp.red255() + " " + transp.red255() + " " + transp.green255() + " " + transp.green255() + " " + transp.blue255() + " " + transp.blue255() + "]\n";
+ }
p = p + imgStream.getPDFDictionary();
p = p + ">>\n";