Expand description
The cwebp drop-in: libwebp’s cwebp command grammar, lossy by default.
Accepts the familiar single-dash flags (-o, -q, -m, -z, -lossless,
-metadata, -quiet, -v, …). Like libwebp’s cwebp, output is lossy
(VP8 ) by default; -lossless (or -z) switches to lossless (VP8L).
-q is quality in lossy mode and effort in lossless mode. Unsupported lossy /
preprocessing knobs are rejected with a clear message rather than silently
ignored.
Functions§
- main
- Parse
cwebp-style arguments, encode, and return a process exit code.