diff --git a/content/improving-documentation/screenshots.md b/content/improving-documentation/screenshots.md index b395296..70d3565 100644 --- a/content/improving-documentation/screenshots.md +++ b/content/improving-documentation/screenshots.md @@ -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 ``` +
+ +{% 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.