This commit is contained in:
Quaternions 2023-09-30 03:38:34 -07:00
parent bd2e3aa2d3
commit 9cb34f14c8

View File

@ -322,7 +322,7 @@ fn convert(file_thing:std::fs::DirEntry) -> BoxResult<()>{
let mut extracted_input=None;
let image=if&fourcc==b"\x89PNG"{
image::load(input,image::ImageFormat::Png)?.to_rgba8()
image::load(input,image::ImageFormat::Png)?.to_rgba8()//this is setting a=0?
}else if &fourcc[0..2]==b"\x1f\x8b"{
//gzip
let mut extracted:Vec<u8>=Vec::new();