How to convert svg to png in Linux?

Posted on In QA

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.

2 comments

  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?

    1. inkscape –export-type=png in1.svg in2.svg in3.svg
      inkscape input.svg -w 1000 -h 1000 -o output.png
      More info is (now?) provided in inkscape –help

      I use Inkscape 1.2.
      And author is right, Inkscape exports SVG into raster formats better than ImageMagick’s convert which is terrible with SVG.

Leave a Reply

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