This commit is contained in:
RabbyDevs 2025-05-04 03:50:19 +03:00
parent 5667a23c5f
commit 898f32f38c

View file

@ -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())
}
}