Skip to content

Commit

Permalink
chore: Switch to the image::ImageReader alias from the deprecated `…
Browse files Browse the repository at this point in the history
…image::io::Reader`
  • Loading branch information
torokati44 committed Jul 22, 2024
1 parent 88b5faf commit bff1539
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bff1539

Please sign in to comment.