#favicon #icon #generating #web-app

bin+lib favicon-generator

It helps you generate favicons with different formats and sizes

23 releases

Uses new Rust 2021

0.3.16 Mar 17, 2022
0.3.14 Sep 19, 2021
0.3.13 Apr 21, 2021
0.3.12 Aug 4, 2020
0.3.0 May 31, 2019

#527 in Command line utilities

Download history 4/week @ 2022-03-08 106/week @ 2022-03-15 76/week @ 2022-03-22 4/week @ 2022-03-29 3/week @ 2022-04-05 2/week @ 2022-04-19 139/week @ 2022-04-26 99/week @ 2022-05-03 346/week @ 2022-05-10 75/week @ 2022-05-17 115/week @ 2022-05-24 184/week @ 2022-05-31 52/week @ 2022-06-07 2/week @ 2022-06-14 3/week @ 2022-06-21

241 downloads per month

MIT license

24KB
473 lines

Favicon Generator

CI

It helps you generate favicons with different formats and sizes.

Help

EXAMPLES:
favicon-generator /path/to/image /path/to/folder     # Uses /path/to/image to generate favicons into /path/to/folder

USAGE:
    favicon-generator [OPTIONS] <INPUT_PATH> <OUTPUT_PATH>

ARGS:
    <INPUT_PATH>     Assign an image for generating favicons. It should be a path of a file
    <OUTPUT_PATH>    Assign a destination of your generated files. It should be a path of a directory

OPTIONS:
    -y, --overwrite                               Overwrite exiting files without asking
        --potrace-path <POTRACE_PATH>             Specify the path of your potrace executable binary file [default: potrace]
        --path-prefix <PATH_PREFIX>               Specify the path prefix of your favicon files [default: /]
    -t, --threshold <FLOATING_VALUE>              The black/white cutoff in input file [default: 0.5]
        --no-sharpen                              Disable the automatic sharpening
        --app-name <NAME>                         Assign a name for your web app
        --app-short-name <NAME>                   Assign a short name for your web app
        --background-color <HEX_COLOR>            Force to assign a background color for all devices [aliases: background]
        --android-background-color <HEX_COLOR>    Assign a background color for Android devices [default: #ffffff] [aliases: android-background]
        --ios-background-color <HEX_COLOR>        Assign a background color for iOS devices [default: #ffffff] [aliases: ios-background]
        --safari-background-color <HEX_COLOR>     Assign a background color for Safari [default: #000000] [aliases: safari-background]
        --windows-background-color <HEX_COLOR>    Assign a background color for Windows devices [default: #ffffff] [aliases: windows-background]
    -h, --help                                    Print help information
    -V, --version                                 Print version information

License

MIT

Dependencies

~8–11MB
~231K SLoC