aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-09-10 16:39:56 +0000
committerJeremias Maerki <jeremias@apache.org>2006-09-10 16:39:56 +0000
commitd6c34646cbeb93d305a72a2bd913ce73182b8881 (patch)
tree64de4c5cc90814e34788d4298f631586ed3467a9 /src/documentation/content/xdocs
parent4bc66553af06005331b55f3ecd108f307b82cd30 (diff)
downloadxmlgraphics-fop-d6c34646cbeb93d305a72a2bd913ce73182b8881.tar.gz
xmlgraphics-fop-d6c34646cbeb93d305a72a2bd913ce73182b8881.zip
Configuration option in the Java2D-based renderers that allows to disable the default white background in order to produce bitmap output with transparency.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@441965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs')
-rw-r--r--src/documentation/content/xdocs/trunk/output.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/trunk/output.xml b/src/documentation/content/xdocs/trunk/output.xml
index a0a53324f..a78389917 100644
--- a/src/documentation/content/xdocs/trunk/output.xml
+++ b/src/documentation/content/xdocs/trunk/output.xml
@@ -633,6 +633,22 @@ out = proc.getOutputStream();]]></source>
page. The quality of the bitmap depends on the target resolution setting
on the FOUserAgent.
</p>
+ <section id="bitmap-configuration">
+ <title>Configuration</title>
+ <p>
+ The TIFF and PNG renderer configuration currently allows the following settings:
+ </p>
+<source><![CDATA[<renderer mime="image/png">
+ <transparent-page-background>true</transparent-page-background>
+ <fonts><!-- described elsewhere --></fonts>
+</renderer>]]></source>
+ <p>
+ The default value for the "transparent-page-background" setting is "false" which
+ paints an opaque, white background for the whole image. If you set this to true,
+ no such background will be painted and you will get a transparent image if
+ an alpha channel is available in the output format.
+ </p>
+ </section>
</section>
<section id="txt">
<title>TXT</title>