Wie man ein SVG-Icon in ein Favicon umwandelt
Verwenden Sie diesen Befehl, um ein SVG-Icon mit transparentem Hintergrund in ein exakt 32x32px (mit Padding) PNG-Bild umzuwandeln:
convert_svg_to_png.sh
convert -background none "Logo.svg" -resize 32x32 -gravity center -extent 32x32 "Logo.png"Gleiches für 16x16px:
convert_svg_to_png_16.sh
convert -background none "Logo.svg" -resize 16x16 -gravity center -extent 16x16 "Logo.png"Check out similar posts by category:
ImageMagick
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow