add todo
This commit is contained in:
parent
5667a23c5f
commit
898f32f38c
1 changed files with 2 additions and 1 deletions
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue