pub fn convert_file(format: PreviewFormat, input: &Path) -> Result<Vec<u8>>
Converts the file at input (tests and tools).
input