Created
July 25, 2020 12:21
-
-
Save Fintan/6ff68799d269c3e377ed5f80ad11e013 to your computer and use it in GitHub Desktop.
Create an icon file with Inkscape and ImageMagick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1) Export your SVG to PNG with InkScape | |
#2) Resize this PNG image to the sizes you want with ImageMagick | |
#3) Convert the PNG images to ICO | |
#4) Make sure your ICO contains everything | |
magick convert master.png -resize 16x16 16.png | |
magick convert master.png -resize 32x32 32.png | |
magick convert master.png -resize 48x48 48.png | |
magick convert 16.png 32.png 48.png icon.ico | |
identify icon.ico | |
#https://graphicdesign.stackexchange.com/questions/77359/how-to-convert-a-square-svg-to-all-size-ico |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment