added notes about obtaining webp (#408)
Resolves #407 Co-authored-by: I <igor@its.rel.pl> Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/408 Reviewed-by: Otto <otto@codeberg.org> Co-authored-by: Igor <309631@noreply.codeberg.org> Co-committed-by: Igor <309631@noreply.codeberg.org>
This commit is contained in:
parent
adf276bea6
commit
91bc7ec69f
1 changed files with 14 additions and 0 deletions
|
@ -26,6 +26,20 @@ To convert a screenshot to WebP, you can use the `cwebp` command line utility li
|
|||
cwebp -lossless screenshot.png -o screenshot.webp
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
{% admonition "Note" "How to install cwebp" %}
|
||||
|
||||
As `cwebp` cli-tool is part of `libwebp` the package name might be different between different repositories, here's some tips how to install this tool:
|
||||
|
||||
- On Debian/Ubuntu in `apt` repository by `sudo apt install webp`
|
||||
- On VoidLinux `xbps` repository by `sudo xbps-install libwebp`
|
||||
- On ArchLinux `aur` repository by `sudo pacman -S libwebp`
|
||||
|
||||
{% endadmonition %}
|
||||
|
||||
|
||||
|
||||
If you prefer a GUI, there are [a number of options](https://en.wikipedia.org/wiki/WebP#Graphics_software) available, but please be sure that your GUI doesn't add thumbnails into the WebP file, which would inflate its size, rendering its key advantage meaningless.
|
||||
|
||||
> At the time of writing, there is no support for webP images in Safari browsers.
|
||||
|
|
Loading…
Reference in a new issue