Hello,

How to handle large SVG files?

At my current project, I am trying to move away from the CGM format in
favor of SVG. This project is about GIS data, and the mapserver
supports exporting SVG files.

These SVG files are usually around 700KB in size. When using the Batik
rasterizer, it takes minutes to create even the lowest quality and
smallest JPEG files. If I do not specify a larger memory usage value
(java commandline), it exits with an out of memory error.

My code works perfectly when using small SVG files. (example files
from the batik distribution)

What is Batik trying to differently than, say, Adobe SVG viewer? It
renders the same SVG within milliseconds when embedding it in HTML or
standalone.

Am I overlooking something, or using the wrong tools for the wrong problem?

Kind regards,

Pieter Jansen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to