You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Pe...@gmx.net on 2006/04/21 10:05:31 UTC
Performance Improvement for SVG Graphics
Hello,
I have a problem with inluding medium to large svg graphics into my pdf
documents. The performance in the generation process is pretty bad. I takes
considerably longer when I include a svg graphic compared to using for
instance a png.
I have a lot of graphics which need to be scalable.
It's mainly 3D stuff. Is there a better way for doing this or do the svg
graphics have to match a certain profile? The average file size is about
30k.
The generation is done in a web apps. So it's kind of time critical.
cheers,
Pete
--
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen f�r GMX Partner: http://www.gmx.net/de/go/partner
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
AW: Performance Improvement for SVG Graphics
Posted by Neumann Andreas <an...@karto.baug.ethz.ch>.
Hi,
SVG conversion in FOP is done through Batik, as far as I know.
It might be that the FOP version you use, uses a rather old version of Batik. The current SVN version performs better than the latest stable release.
Also, conversion depends on the contents of the SVG files.
I recently had performance problems too when using the svgrasterizer from Batik, which also generate PDF directly from SVG files. My SVG files had a lot of "opacity" attributes specified.
Thomas DeWeese (one of the Batik programmers) recommended to change the opacity to "fill-opacity" and/or "stroke-opacity". Indeed Batik performed much better with that change.
Andreas
---
Andreas Neumann
Institute of Cartography
Swiss Federal Institute of Cartography
ETH Hoenggerberg
CH-8093 Zurich
Phone: ++41-1-6333031
Fax: ++41-1-6331153
http://www.karto.ethz.ch/
http://www.carto.net/papers/svg/
http://www.svgopen.org/
-----Ursprüngliche Nachricht-----
Von: Peter.Neu@gmx.net [mailto:Peter.Neu@gmx.net]
Gesendet: Fr 4/21/2006 10:05
An: fop-users@xmlgraphics.apache.org
Betreff: Performance Improvement for SVG Graphics
Hello,
I have a problem with inluding medium to large svg graphics into my pdf
documents. The performance in the generation process is pretty bad. I takes
considerably longer when I include a svg graphic compared to using for
instance a png.
I have a lot of graphics which need to be scalable.
It's mainly 3D stuff. Is there a better way for doing this or do the svg
graphics have to match a certain profile? The average file size is about
30k.
The generation is done in a web apps. So it's kind of time critical.
cheers,
Pete
--
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org