That is a good question! It seems to be some legacy configuration that
copied from an existing fop.xconf that apparently is not used anymore.
But I will need to investigate because I do not have an answer.
On 10/17/13 10:49 AM, Bernard Giannetti wrote:
Hi Luis,
I went to the page you provided (ImageLoaderRawPNG) and noticed in the
config for application/pdf
<xmlHandler mime="text/svg+xml"/>
I searched for xmlhandler and cannot find any reference to this tag
(other than the page you gave).
I'm generating PDFs using embedded FOP (which include a small SVG
image). As a test, I generated a PDF with the tag in the FOP config
and then without and I noticed no (obvious) difference in
timing/memory. Is this tag necessary...what does it do?
Thanks in advance,
Bernard.
------------------------------------------------------------------------
Date: Wed, 16 Oct 2013 23:44:52 +0100
From: lmpmberna...@gmail.com
To: fop-users@xmlgraphics.apache.org
Subject: Re: png vs. jpg
<snip>
Yes, there is a difference. By default FOP uses a "native" image
loader for JPG but not for PNG. There is however a native image loader
for PNG too, which you can enable in the configuration file. See
http://wiki.apache.org/xmlgraphics-fop/HowTo/ImageLoaderRawPNG for
more info. Try it and I expect that you will see a performance
improvement.
</snip>