From: Glenn Adams Date: Tue, 19 Jun 2012 00:18:44 +0000 (+0000) Subject: Bugzilla #40676: Update site documentation about PNG image loading configuration... X-Git-Tag: fop-1_1rc1^2~1^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=da4e308bb1bc707814227c29d769f47da0bb3fb2;p=xmlgraphics-fop.git Bugzilla #40676: Update site documentation about PNG image loading configuration and support. Submitted by Luis Bernardo. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1351540 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/trunk/configuration.xml b/src/documentation/content/xdocs/trunk/configuration.xml index b30a091a5..563ae9647 100644 --- a/src/documentation/content/xdocs/trunk/configuration.xml +++ b/src/documentation/content/xdocs/trunk/configuration.xml @@ -281,6 +281,24 @@ treated as zero penalty in most cases. For more details on the image loading framework, please consult the documentation there.

+

+ The ImageLoaderPNG and ImageLoaderRawPNG have a hard-coded penalty of 1000 and as such the + ImageLoaderImageIO image loader will be selected by default when loading PNGs unless + the latter is disabled by awarding a INFINITE penalty to it, or one of the former two is + promoted by awarding a strong negative penalty (say, -10000) to it. +

+ + [..] + + + + + + ]]>
Renderer configuration diff --git a/src/documentation/content/xdocs/trunk/graphics.xml b/src/documentation/content/xdocs/trunk/graphics.xml index b1653443a..eb05013b7 100644 --- a/src/documentation/content/xdocs/trunk/graphics.xml +++ b/src/documentation/content/xdocs/trunk/graphics.xml @@ -108,7 +108,7 @@ PNG (Portable Network Graphic) bitmap - + (X) X @@ -217,8 +217,8 @@ PNG (Portable Network Graphic) - X - X + X [2] + X [2] X X X @@ -383,8 +383,11 @@
PNG

- PNG images are supported through an Image I/O codec. Transparency is supported but - not guaranteed to work with every output format. + FOP native support of PNG only includes the variants with 8 bits per channel and without + interlacing. Native support requires using the ImageLoaderRawPNG image loader. + Support through a Image I/O codec can use either the internal XGC PNG codec or the JRE PNG + codec. The associated image loaders are, respectively, ImageLoaderPNG and ImageLoaderImageIO. + Transparency is supported but not guaranteed to work with every output format.

diff --git a/status.xml b/status.xml index 7f684f8b1..3c73f9586 100644 --- a/status.xml +++ b/status.xml @@ -63,6 +63,9 @@ documents. Example: the fix of marks layering will be such a case when it's done. --> + + Update site documentation about PNG image loading configuration and support. + Fix newly introduced findbugs warnings.