img2webp: add -sharp_yuv/-near_lossless

Both are global settings. Modifying them at the frame level is left as a
follow up based on need.

Bug: b/272739498
Change-Id: If15256c052f73fe3df56be5e0095e76d9870cc0f
This commit is contained in:
jzern@google.com
2023-03-15 18:50:37 -07:00
committed by James Zern
parent d64e6d7d9d
commit 0825faa4c1
5 changed files with 34 additions and 3 deletions

View File

@ -308,6 +308,10 @@ File-level options (only used at the start of compression):
-kmin <int> .......... minimum number of frame between key-frames
(0=disable key-frames altogether)
-mixed ............... use mixed lossy/lossless automatic mode
-near_lossless <int> . use near-lossless image preprocessing
(0..100=off), default=100
-sharp_yuv ........... use sharper (and slower) RGB->YUV conversion
(lossy only)
-v ................... verbose mode
-h ................... this help
-version ............. print version number and exit