|
Hello, I have the *impression* this is related to some code in org.apache.fop.render.java2d.Java2DRenderer#getPageImage,
namely //
draw page frame
graphics.setColor(Color.white);
graphics.fillRect(0, 0, pageWidth, pageHeight);
graphics.setColor(Color.black);
graphics.drawRect(-1, -1, pageWidth + 2, pageHeight + 2);
graphics.drawLine(pageWidth + 2, 0, pageWidth + 2, pageHeight + 2);
graphics.drawLine(pageWidth + 3, 1, pageWidth + 3, pageHeight + 3);
graphics.drawLine(0, pageHeight + 2, pageWidth + 2, pageHeight + 2);
graphics.drawLine(1, pageHeight + 3, pageWidth + 3, pageHeight + 3); Depending on the use case having a white
page background and black frame might be fine. In my case it is not what I want. Would this be considered a bug or a
feature, and/or would it make sense to add some kind of option to either enable
or disable this part of the code? Thanks, Peter From: Peter [mailto: FOP Fans, I am (a beginning fop user) using fop with png output (tried
both the trunk and 0.92 beta) and was wondering whether there is a possibility
to set the page background to transparent. I tried background-color=”transparent” but that
does not seem to work. Any guidance would be greatly appreciated, Thanks, Peter |
- RE: Png output and transparent background Peter
- RE: Png output and transparent background Luis Ferro
- RE: Png output and transparent background Peter
- Re: Png output and transparent background Jeremias Maerki
