img2webp: add -exact/-noexact per-frame options

Bug: b:363409354
Change-Id: I4e7282ed2df091dbef6d79743be1c8c868c0d44a
This commit is contained in:
James Zern
2024-09-03 18:58:13 -07:00
parent 1c8eba978b
commit 57883c78ed
3 changed files with 17 additions and 1 deletions

View File

@ -325,6 +325,9 @@ Per-frame options (only used for subsequent images input):
-lossy ............... use lossy mode
-q <float> ........... quality
-m <int> ............. method to use
-exact, -noexact ..... preserve or alter RGB values in transparent area
(default: -noexact, may cause artifacts
with lossy animations)
```
example: `img2webp -loop 2 in0.png -lossy in1.jpg -d 80 in2.tiff -o out.webp`