How to convert svg to png in Linux?

Posted on

How to convert a svg image file to a high-quality png file in Linux?

inkscape works great with vector images (better than ImageMagikk’s convert).

Try this command to convert in.svg to a 1000×1000 png image:

inkscape -z -e out.png -w 1000 -h 1000 in.svg

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

One comment

  1. -z -e have been deprecated

    inkscape always now seem to popup a GUI window in the most recent version. No way to rund from the cli silently anymore.

    Any other recommendations?

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts