summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-04-02 13:30:17 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-04-02 13:30:17 +0200
commite976a655fae63ee0b0ed5ea304d695a247878dd8 (patch)
treed82af018f8dfc67a84d2cd6f508f3ebb1867de9a
parent502dd20c30178782554fb35f7dad1c232860f8a4 (diff)
add how to generate a favicon from our avatar
-rw-r--r--wiki/favicon.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/wiki/favicon.md b/wiki/favicon.md
new file mode 100644
index 0000000..1e453c9
--- /dev/null
+++ b/wiki/favicon.md
@@ -0,0 +1,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