Improve palette grayscale test

This commit is contained in:
Joshua Holmer 2016-02-19 14:54:21 -05:00
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

View file

@ -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();