dev.thewebres.com

Favicon Generation with ImageMagick

Some common tricks I've used for creating Favicons with ImageMagick

11/22/2022, 8:58:00 PM CST


Common Image Manipulation Tricks


Below are some quick tricks that can be used to manipulate images using ImageMagick.



If you're looking to replace white areas with a translation:


convert ./incognitum_3.jpeg -fuzz 5% -transparent white incognitum_icon.png

To create a scaled down version of any image:


convert favicon-256.png -resize 128x128 favicon-128.png

To create a favicon.ico from multiple source images:


convert favicon-16.png favicon-32.png favicon-64.png favicon-128.png favicon-256.png -colors 256 favicon.ico