Performance questions Hi,
I'm using Batik to generate charts and graphs dynamically within a servlet container. (Various data graphs, SVG size: ~4-5kb) Currently I do this by creating an SVG, and then modifying the elements and attributes to describe my graph. Then, depending on the type of report requested (HTML or PDF), I either transcode the SVG into a PNG or I use the PrintTranscoder.print(Graphics, PageFormat, int) to embed the image into my PDF (Using the iText PDF libraries). I enjoy the power of the library, but my only real problem is that it's slow. (1 second per image, 14 images / page. The PrintTranscoder takes noticeably longer.) Is this speed normal? Are there ways to enhance the speed? I would really like to increase performance. Is this an appropriate use of the PrintTranscoder class? Is there another way of writing an SVG to a Graphics object? Should I be cautious about the usage of the PrintTranscoder in a multithreaded environment? Thanks for any input, Marc ------------------------------------------------- FastQ Communications Providing Innovative Internet Solutions Since 1993 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
