Skip to main content

convert

Function convert 

Source
pub fn convert(
    inputs: &[PathBuf],
    options: &Options,
) -> Result<Outcome, CliError>
Expand description

Convert every input file (expanding directories) to WebP.

ยงErrors

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.