[OSM-talk] SVG to PNG without burning lots of memory

Simon Hewison simon at zymurgy.org
Tue Jul 18 10:28:48 BST 2006


Quick question to the list.

I've been doing some rather nice maps with osmarender, and have the need to 
convert to a PNG. The maps are of a rather large area (about 250 sq km), and 
the SVG comes to 7 megabytes of typical XML bloat.

Surely there must be a simple way of converting a 7MB input file to a 
1024x768 bitmap png without running out of memory on a 512MB machine?

I've tried Inkscape, which is known to be REALLY memory hungry, it crashes 
out with failure to allocate memory.

I've tried Gimp, which just hangs.

Even Firefox just crawls on this input.

Has anyone got any suggestions on an efficient SVG to PNG conversion?

-- 
Simon Hewison




More information about the talk mailing list