Fix 1bpp image decoding and add a test image (#252)

This commit is contained in:
Jonathan Behrens authored and GitHub committed 2024-10-31 20:21:02 -07:00
1 parent e28ad564d9
commit 96d3a02efe
4 files changed
+17 -7

No files matched your search

+5
View File
@@ -216,6 +216,11 @@ fn issue_69() {
//assert!(img_res.is_ok());
//}
#[test]
fn test_tiled_gray_i1() {
test_image_sum_u8("tiled-gray-i1.tif", ColorType::Gray(1), 30531);
}
#[test]
fn test_tiled_rgb_u8() {
test_image_sum_u8("tiled-rgb-u8.tif", ColorType::RGB(8), 39528948);