Checkpoint: start rendering images
This commit is contained in:
parent
5c750b6880
commit
1816ab95a0
11 changed files with 231 additions and 77 deletions
|
@ -84,7 +84,6 @@ impl ImageCache {
|
|||
let format = image::guess_format(&body)?;
|
||||
let image =
|
||||
image::load_from_memory_with_format(&body, format)?.into_bgra8();
|
||||
|
||||
Ok(ImageData::new(image))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue