summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/src/image/raster.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/wgpu/src/image/raster.rs b/wgpu/src/image/raster.rs
index e94c07ed..826b4539 100644
--- a/wgpu/src/image/raster.rs
+++ b/wgpu/src/image/raster.rs
@@ -165,7 +165,7 @@ impl Orientation {
where
R: std::io::BufRead + std::io::Seek,
{
- let exif = ::exif::Reader::new().read_from_container(reader)?;
+ let exif = exif::Reader::new().read_from_container(reader)?;
Ok(exif
.get_field(::exif::Tag::Orientation, ::exif::In::PRIMARY)
@@ -186,8 +186,8 @@ impl Orientation {
fn apply(
self,
mut img: ::image_rs::ImageBuffer<::image_rs::Bgra<u8>, Vec<u8>>,
- ) -> ::image_rs::ImageBuffer<::image_rs::Bgra<u8>, Vec<u8>> {
- use ::image_rs::imageops::*;
+ ) -> image_rs::ImageBuffer<::image_rs::Bgra<u8>, Vec<u8>> {
+ use image_rs::imageops::*;
match self {
Self::FlippedHorizontally => flip_horizontal_in_place(&mut img),