Skip to content

emarref/webicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Icon

Generate web icons such as favicon and touch icons with a shell script, then display the markup needed to use them in your HTML.

To use, simply execute the webicon.sh shell script from the command line, passing the filename of your source image as the only argument. The following images are generated in the current directory:

  • favicon-310.png
  • favicon-256.png
  • favicon-152.png
  • favicon-150.png
  • favicon-144.png
  • favicon-114.png
  • favicon-120.png
  • favicon-72.png
  • favicon-70.png
  • favicon-64.png
  • favicon-57.png
  • favicon-48.png
  • favicon-32.png
  • favicon-16.png
  • favicon.ico

The original image remains untouched.

Tip: place this script somewhere in your system's $PATH for easy access.

Requirements

  • *nix environment
  • Image Magick for the convert command. (On OSX, brew install imagemagick)

Credit

About

Generate favicon and touch icons via a shell script

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages