WebP:修订间差异

来自WHY42
Riguz留言 | 贡献
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...."
 
Riguz留言 | 贡献
无编辑摘要
 
第1行: 第1行:


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.
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">
<syntaxhighlight lang="bash">
第15行: 第16行:
see:
see:
* https://developers.google.com/speed/webp?hl=en
* https://developers.google.com/speed/webp?hl=en
<syntaxhighlight lang="bash">
cwebp -q 80 image.png -o image.webp
dwebp image.webp -o image.png
gif2webp ..
</syntaxhighlight>

2023年10月30日 (一) 10:22的最新版本

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:

cwebp -q 80 image.png -o image.webp
dwebp image.webp -o image.png
gif2webp ..