pub fn convert( inputs: &[PathBuf], options: &Options, ) -> Result<Outcome, CliError>
Convert every input file (expanding directories) to WebP.
CliError only for a failure that prevents the whole run (e.g. a directory that cannot be read); per-file failures are recorded in the returned Outcome.
CliError
Outcome