WebP

来自WHY42
Riguz留言 | 贡献2023年10月30日 (一) 10:20的版本 (Created page with " WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index. <syntaxhighlight lang="bash"> wget https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.3.2-mac-arm64.tar.gz tar -zxvf libwebp-1.3.2-mac-arm64.tar.gz cwebp -q 80 thinking.png -o thinking.webp (base) ➜ webp ls -lh total 568 -rw-r--r--@ 1 riguz staff 249K 10 30 18:17 thinking....")
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index.

wget https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.3.2-mac-arm64.tar.gz
tar -zxvf libwebp-1.3.2-mac-arm64.tar.gz

cwebp -q 80 thinking.png -o thinking.webp

(base)   webp ls -lh
total 568
-rw-r--r--@ 1 riguz  staff   249K 10 30 18:17 thinking.png
-rw-r--r--  1 riguz  staff    32K 10 30 18:19 thinking.webp

see: