parent
19ae280ca8
commit
6f1a87160a
1 changed files with 1 additions and 0 deletions
|
|
@ -945,6 +945,7 @@ fn reduce_grayscale_alpha_to_grayscale(png: &PngData) -> Option<Vec<u8>> {
|
||||||
if *byte != 255 {
|
if *byte != 255 {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
reduced.push(*byte);
|
reduced.push(*byte);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue