Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ozansz/favicon-generator
A shell script that generates favicon from given image
https://github.com/ozansz/favicon-generator
Last synced: 13 days ago
JSON representation
A shell script that generates favicon from given image
- Host: GitHub
- URL: https://github.com/ozansz/favicon-generator
- Owner: ozansz
- License: mit
- Created: 2018-09-21T23:41:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T23:49:20.000Z (about 6 years ago)
- Last Synced: 2024-10-16T14:21:34.508Z (28 days ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Favicon Generator
A shell script that generates favicon from given image
## Usage
First clone the repository to your local machine:
```shell
git clone https://github.com/ozansz/favicon-generator
cd favicon-generator
```And run `gen.sh`:
```shell
chmod +x gen.sh
./gen.sh foobar.png
```The command above generates a favicon from `foobar.png` and saves as `favicon.ico`
To save the generated favicon with a different name from `favicon.ico`, pass the file name as the second argument.
The command below saves the generated favicon from `foo.png` to `bar.ico`.```shell
./gen.sh foo.png bar.ico
```## Script Arguments
`gen.sh [outfile]`
* `file`: Image file which will be used to generate favicon
* `outfile`: Custom favicon output file name