Skip to content

Instantly share code, notes, and snippets.

@adelin-b
Forked from azam/svg2ico.sh
Created March 30, 2019 13:37
Show Gist options
  • Save adelin-b/a0fa89c323fc83fb139ee7ac5cf4fe7f to your computer and use it in GitHub Desktop.
Save adelin-b/a0fa89c323fc83fb139ee7ac5cf4fe7f to your computer and use it in GitHub Desktop.
Convert SVG to ICO using ImageMagick, with transparent background and multi-size icons
convert -density 384 -background transparent favicon.svg -define icon:auto-resize -colors 256 favicon.ico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment