Skip to content

Instantly share code, notes, and snippets.

@dustintheweb
Created May 1, 2014 21:05
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save dustintheweb/cb8b662ba3357e5b5fb5 to your computer and use it in GitHub Desktop.
Save dustintheweb/cb8b662ba3357e5b5fb5 to your computer and use it in GitHub Desktop.
Batch Convert SVG to PNG (transparent/ alpha) using ImageMagick
// ImageMagick - Convert SVG to PNG w/ transparency
//
// - open terminal
//
// - confirm you have imagemagick installed
// --- type: convert -v
//
// - cd to folder
//
// - single file
// --- type: convert -background none filename.svg filename.png;
//
// - batch folder
// --- type: mogrify -background none -format png *.svg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment