async fn image_reader(file: File) -> Result<Image<'static>, ErrorCtx>
Get an image reader for the given file.