mirror of
https://github.com/youwen5/iamb.git
synced 2025-08-04 11:38:28 -07:00
Update modalkit
and modalkit-ratatui
to SHA 45855daeeb
(#358)
This commit is contained in:
parent
ebd89423e9
commit
6e923f3878
5 changed files with 455 additions and 106 deletions
|
@ -596,7 +596,7 @@ impl ChatState {
|
|||
let dynimage = image::DynamicImage::ImageRgba8(imagebuf);
|
||||
let bytes = Vec::<u8>::new();
|
||||
let mut buff = std::io::Cursor::new(bytes);
|
||||
dynimage.write_to(&mut buff, image::ImageOutputFormat::Png)?;
|
||||
dynimage.write_to(&mut buff, image::ImageFormat::Png)?;
|
||||
Ok(buff.into_inner())
|
||||
})
|
||||
.map_err(IambError::from)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue