From 898f32f38ce00fb958336894a88925ecf5c0195a Mon Sep 17 00:00:00 2001 From: RabbyDevs <67389402+RabbyDevs@users.noreply.github.com> Date: Sun, 4 May 2025 03:50:19 +0300 Subject: [PATCH] add todo --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()) } }