Module: Mesa
Branch: master
Commit: f736be86bbb4932e89e08f25d4430d96230b11f7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f736be86bbb4932e89e08f25d4430d96230b11f7

Author: Eric Engestrom <eric.engest...@intel.com>
Date:   Fri May  4 12:46:17 2018 +0100

docs: add favicon to the website

favicon.png is just gears.png resized to 64x64, and favicon.ico is
generated using this command, adapted from the ImageMagick example [1]:

  $ convert favicon.png -background black \
      \( -clone 0 -resize 16x16 \) \
      \( -clone 0 -resize 32x32 \) \
      \( -clone 0 -resize 48x48 \) \
      \( -clone 0 -resize 64x64 \) \
      -delete 0 -alpha off -colors 256 favicon.ico

We could edit every html page to add `<link rel="icon" href="favicon.ico" />`,
but there's not much point as pretty much every browser will pick it up
automatically if the file is named `favicon.ico` and is in the root folder.

[1] http://www.imagemagick.org/Usage/thumbnails/#favicon

Signed-off-by: Eric Engestrom <eric.engest...@intel.com>

---

 docs/favicon.ico | Bin 0 -> 13094 bytes
 docs/favicon.png | Bin 0 -> 2998 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/docs/favicon.ico b/docs/favicon.ico
new file mode 100644
index 0000000000..e7e244a161
Binary files /dev/null and b/docs/favicon.ico differ
diff --git a/docs/favicon.png b/docs/favicon.png
new file mode 100644
index 0000000000..19898ef742
Binary files /dev/null and b/docs/favicon.png differ

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to