chore: Switch to the `image::ImageReader` alias from the deprecated `image::io::Reader`
This commit is contained in:
parent
88b5fafd7d
commit
bff15397d3
|
@ -233,7 +233,7 @@ fn jpegxr_to_tiff<R: Read + Seek>(
|
|||
.expect("Failed to convert to bitmap");
|
||||
|
||||
let image_reader =
|
||||
image::io::Reader::with_format(Cursor::new(bmp_buffer), image::ImageFormat::Tiff);
|
||||
image::ImageReader::with_format(Cursor::new(bmp_buffer), image::ImageFormat::Tiff);
|
||||
(
|
||||
image_reader.decode().expect("Failed to decode Bitmap"),
|
||||
pixel_format,
|
||||
|
|
Loading…
Reference in New Issue