fixme
This commit is contained in:
parent
bd2e3aa2d3
commit
9cb34f14c8
@ -322,7 +322,7 @@ fn convert(file_thing:std::fs::DirEntry) -> BoxResult<()>{
|
|||||||
|
|
||||||
let mut extracted_input=None;
|
let mut extracted_input=None;
|
||||||
let image=if&fourcc==b"\x89PNG"{
|
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"{
|
}else if &fourcc[0..2]==b"\x1f\x8b"{
|
||||||
//gzip
|
//gzip
|
||||||
let mut extracted:Vec<u8>=Vec::new();
|
let mut extracted:Vec<u8>=Vec::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user