On 25.05.2005 00:16:35 Litton, Tom - CEPM wrote: > The transcoder to PDF seems to be a bit slow in our system. It can take > up to 25 seconds to do the conversion. Has anyone tried to do > performance improvements with this transcoder?
Not me, until now it was exclusively about features when I was working on it. Maybe you could do some profiling to better determine any optimization potential. How fast can you convert the same SVG to a bitmap using Batik? > Is it documented anywhere? I've tried to scratch together on a Wiki page what was easily extractable from my brain. http://wiki.apache.org/xmlgraphics-batik/PdfTranscoder > Are there any transcoding hints that help? Are there any SVG elements > that increase the rendering time for this transcoder (or in general) > that i should avoid? I've tried to document this on the Wiki page. Generally, text operations are critical. > Also, I'm only transcoding part of the image. Is there a way and would > it be faster to tell the transcoder to process only the part of the > image that I want to include in the PDF? I don't know how Batik does that usually (I'm mostly a FOP guy), but I know there are no special precautions in the PDF Transcoder code to avoid unnecessary painting operations. Maybe one of the Batik gurus can shed some more light on this. I don't know if the PDF Transcoder could do something here to improve the situation. I hope that helps a bit. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
