Last active
April 19, 2026 09:54
-
-
Save azam/3b6995a29b9f079282f3 to your computer and use it in GitHub Desktop.
Convert SVG to ICO using ImageMagick, with transparent background and multi-size icons
This file contains hidden or 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
| convert -density 256x256 -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
I ran into the same problem as @pa-0 described but managed to decrease the file size by defining the sizes i want to have like @gsilvan pointed out.