mirror of
https://github.com/G2-Games/lbee-utils.git
synced 2025-04-19 07:12:55 -05:00
Fixed error in CZ2 saving
This commit is contained in:
parent
b42e1ca1d6
commit
14360b9464
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ impl CzImage for Cz2Image {
|
|||
|
||||
fn save_as_png(&self, name: &str) -> Result<(), image::error::ImageError> {
|
||||
let img = image::RgbaImage::from_raw(
|
||||
self.header.width() as u32 - 1,
|
||||
self.header.width() as u32,
|
||||
self.header.height() as u32,
|
||||
self.bitmap.clone(),
|
||||
).unwrap();
|
||||
|
|
Loading…
Reference in a new issue