Skip to main content

Crate webpkit_cli

Crate webpkit_cli 

Source
Expand description

Shared library behind the webpkit command-line tools.

The cwebp / dwebp drop-in binaries and the webp brand tool are thin main shims (src/bin/*.rs) over the argument parsing, codec glue, byte I/O, reporting, and error handling collected here.

Modules§

bulk
Parallel bulk / directory conversion for webp convert.
cli
Command-line argument vocabulary shared by the binaries.
codec
Thin glue over the codec public API, shared by every binary.
effort
Map cwebp’s effort dials onto the three-level codec presets.
error
The CLI error type and its process exit codes.
format
Image-file encodings the CLI reads and writes: PNG, netpbm (PPM/PAM), raw.
io
Byte sources and sinks with the - stdin/stdout convention.
metadata
-metadata selection: which ICC / Exif / XMP fields to carry.
report
Verbosity-aware status reporting.