Improve palette grayscale test
This commit is contained in:
parent
677ce14b96
commit
e1d30163c2
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 89 KiB |
|
|
@ -358,7 +358,7 @@ fn palette_should_be_grayscale() {
|
|||
};
|
||||
|
||||
assert!(png.ihdr_data.color_type == png::ColorType::Grayscale);
|
||||
assert!(png.ihdr_data.bit_depth == png::BitDepth::Four);
|
||||
assert!(png.ihdr_data.bit_depth == png::BitDepth::Eight);
|
||||
|
||||
let old_png = image::open(&input).unwrap();
|
||||
let new_png = image::open(&output).unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue