fariasmateuss / favicon-generator

Bash Script to generate favicons in multiple sizes (.ico and .png)
GNU General Public License v3.0
16 stars 1 forks source link
bash-script favicon-generator image-magick

Favicon Generator

Getting Started

To run this script you have to install ImageMagick or make sure that it is already installed.

This bash script takes an image as a parameter, and uses ImageMagick to convert it to several other formats used on modern websites. The dimensions of your picture should be at least 512x512 pixels.

./favicon.sh image.png

You can also create a list with all tags of the created favicons with the flag -x as the second argument. A file favicons.txt will be created for this. You can simply insert the content of this file into the <head> of your html page.

./favicon.sh image.png -x

The following copies are generated

License

Licensed under the GPL-3.0 License license by Mateus V. Farias.