fn process_single(
input: &Path,
output: &Path,
encode: &EncodeOptions,
use_gpu: bool,
configure: impl FnOnce(&mut Engine),
) -> Result<Duration, String>Expand description
Process a single image: decode, configure engine via closure, render, encode.