Hi JD, benamou jean-david <[EMAIL PROTECTED]> wrote on 11/14/2006 04:34:51 PM:
> I am using Batik on a server to rasterize svg content. > i am doing > java -Mmx128M -jar batik-rasterizer -m image/png ..etc > The Xmx option is needed for big SVG files ... > Is it possible to reduce the memory requirements and > speed up the rasterization and how ? For large files you might look at the TiledTiffTranscoder (in the contrib directory). Unfortunately it outputs Tiff not PNG but it is much easier on the memory. As for speed if you are invoking Java for each rasterization you are probably spending the vast majority of your time bringing up the JVM. Java really works best if you bring it up once and keep it up servicing multiple requests, I would suggest using something like Tomcat (a java servlet engine). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
