Sunday 24 February 2019

inkscape - Converting large SVG to PNG file


So I have a 16mb SVG file with about 30,000 nodes and I've been trying to convert it to a 10,000x10,000 png image. I tried a lot of stuff and the closest I got was with inkscape, but it got some weird error halfway through the command and only rendered half the image. Does anyone know the best way to do this?



Answer



Imagemagick is a dedicated command line tool for converting and manipulating images, so may product better results:


convert -density 1200 -resize 10000x10000 your.svg your.png

You may need to change the density command to get optimal results


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...