summaryrefslogtreecommitdiff
path: root/wiki/favicon.md
blob: 1e453c9c6f79014e7e367136bf5f0c1ddf66458d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# New .ico favicon from .svg

## Prerequisites

    # apt install inkscape imagemagick
    $ ls avatar.svg
    avatar.svg

## Convert

    $ inkscape -w 16 -h 16 -e 16.png avatar.svg
    $ inkscape -w 32 -h 32 -e 32.png avatar.svg
    $ inkscape -w 48 -h 48 -e 48.png avatar.svg
    $ convert 16.png 32.png 48.png avatar.ico

## Credit

  - https://graphicdesign.stackexchange.com/a/77466