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

Frédéric Bonifas fredericbonifas at gmail.com
Tue Jul 18 10:41:37 BST 2006


Is Inkscape still so memory hungry if you use it in command line ?
With
~$ inkscape YOUR_FILE.svg --export-png=NAME_OF_THE_PNG

Fred


2006/7/18, Simon Hewison <simon at zymurgy.org>:
> 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
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>




More information about the talk mailing list