pub fn optimize_webp(
input_path: &Path,
output_path: &Path,
args: &Cli,
resized_img: Option<DynamicImage>,
) -> Result<()>Expand description
Optimizes a WebP image with configurable quality and lossless options
ยงErrors
Returns an error if WebP encoding fails or file I/O operations fail