Add opacity option in documentation

This commit is contained in:
this.ven 2024-01-28 00:23:47 +01:00
parent 7bc00dcbad
commit 7b7ed6b525

View file

@ -72,18 +72,18 @@ the dimensions (in pixels) and file types shown in the table.
You can also use Inkscape on the terminal to create these files:
```bash
inkscape --export-width=512 --export-filename="android-chrome-512x512.png" logo.svg
inkscape --export-width=192 --export-filename="android-chrome-192x192.png" logo.svg
inkscape --export-width=180 --export-filename="apple-touch-icon.png" logo.svg
inkscape --export-width=32 --export-filename="favicon-32x32.png" logo.svg
inkscape --export-width=16 --export-filename="favicon-16x16.png" logo.svg
inkscape --export-background-opacity=0.0 --export-width=512 --export-filename="android-chrome-512x512.png" logo.svg
inkscape --export-background-opacity=0.0 --export-width=192 --export-filename="android-chrome-192x192.png" logo.svg
inkscape --export-background-opacity=0.0 --export-width=180 --export-filename="apple-touch-icon.png" logo.svg
inkscape --export-background-opacity=0.0 --export-width=32 --export-filename="favicon-32x32.png" logo.svg
inkscape --export-background-opacity=0.0 --export-width=16 --export-filename="favicon-16x16.png" logo.svg
```
The file `favicon.ico` is created via Inkscape and the `convert` command of the
[ImageMagick](https://imagemagick.org/) tool suite:
```bash
inkscape --export-width=48 --export-filename="favicon-tmp.png" logo.svg
inkscape --export-background-opacity=0.0 --export-width=48 --export-filename="favicon-tmp.png" logo.svg
convert favicon-tmp.png favicon.ico
rm favicon-tmp.png
```