Skip to content

Instantly share code, notes, and snippets.

@scottsbaldwin
Created February 28, 2020 14:39
Show Gist options
  • Save scottsbaldwin/1b6532e690afa5bf0c50682474a48628 to your computer and use it in GitHub Desktop.
Save scottsbaldwin/1b6532e690afa5bf0c50682474a48628 to your computer and use it in GitHub Desktop.

Converting an SVG to a PNG on Mac

Using ImageMagick:

convert picture.svg picture.png

Using qlmanage:

SIZE=300
qlmanage -t -s $SIZE -o . picture.svg 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment