diff --git a/src/main.rs b/src/main.rs index d0e1416..8c22ee0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,7 +24,8 @@ trait InterfaceImage { impl InterfaceImage for DynamicImage { fn into_handle(self) -> image::Handle { - image::Handle::from_rgba(self.width(), self.height(), self.to_rgb8().into_raw()) + // todo: figure out why images which are blurred are made slightly transparent. maybe even use this to my advantange. + image::Handle::from_rgba(self.width(), self.height(), self.to_rgba8().into_raw()) } }