How to convert SVG icon to favicon
Use this command to convert a SVG icon with transparent background to an exactly 32x32px
(padded) PNG image:
convert -background none "Logo.svg" -resize 32x32 -gravity center -extent 32x32 "Logo.png"
Same for 16x16px
:
convert -background none "Logo.svg" -resize 16x16 -gravity center -extent 16x16 "Logo.png"
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow