Thanks Jeremias, it does help alot. I'm still having one small problem though.
I'm in the process of modifying the PDFTranscoder to initialize once, then write each page. Hopefully that will make things much faster (unfortunately it will probably be specific for my application). However, i don't see an obvious way of telling the PDFDocumentGraphics2D to create another page. Is this possible? Thanks again, Tom -----Original Message----- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 25, 2005 11:12 AM To: [email protected] Subject: Re: improving the pdf transcoder performance 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] ---------------------------------------------------------------------- The information contained in this transmission is intended only for the personal and confidential use of the designated recipients named herein. If the reader of this transmission is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this transmission in error, and that any review, dissemination, distribution, or copying of this transmission is strictly prohibited. If you have received this communication in error, please notify the sender and return and delete the original transmission immediately. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
