Created
June 23, 2020 11:12
-
-
Save sibelius/242730f0ae077a71695ae4e6007bd382 to your computer and use it in GitHub Desktop.
Generate a favicon from an image or svg file
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
#!/usr/bin/env bash | |
magick convert $1 -resize 16x16 16.png | |
magick convert $1 -resize 32x32 32.png | |
magick convert $1 -resize 48x48 48.png | |
magick convert 16.png 32.png 48.png favicon.ico |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment