1. Скачаем последнюю версию (13.01.2022) программы тут - https://storage.googleapis.com/download … ws-x64.zip
2. Распакуем куда-нибудь.
3. Запустим cwebp.exe:
C:\my\webp3\bin>cwebp.exe Usage: cwebp [options] -q quality input.png -o output.webp where quality is between 0 (poor) to 100 (very good). Typical value is around 80. Try -longhelp for an exhaustive list of advanced options.
4. Теперь дадим к примеру такую комманду:
cwebp.exe -q 100 mycursor_13_17_17_01_2023-min.jpg -o demo.webp
Вот результат:
C:\my\webp3\bin>cwebp.exe -q 100 mycursor_13_17_17_01_2023-min.jpg -o demo.webp Saving file 'demo.webp' File: mycursor_13_17_17_01_2023-min.jpg Dimension: 682 x 519 Output: 15008 bytes Y-U-V-All-PSNR 61.58 63.45 63.00 62.06 dB (0.34 bpp) block count: intra4: 160 (11.28%) intra16: 1259 (88.72%) skipped: 1107 (78.01%) bytes used: header: 392 (2.6%) mode-partition: 1305 (8.7%) Residuals bytes |segment 1|segment 2|segment 3|segment 4| total macroblocks: | 100%| 0%| 0%| 0%| 1419 quantizer: | 0 | 0 | 0 | 0 | filter level: | 0 | 0 | 0 | 0 |