Add opacity option in documentation
This commit is contained in:
parent
7bc00dcbad
commit
7b7ed6b525
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue