Added functionality for loading selected strip

This commit is contained in:
Alan Race committed 2022-05-09 09:17:27 +02:00
1 parent ca4da33dd7
commit e57ca1a926
4 files changed
+30 -22

No files matched your search

+1 -1
View File
@@ -513,7 +513,7 @@ fn test_rows_per_strip() {
for i in 0..50 {
let img2 = [i; 2 * 100];
match decoder.read_strip().unwrap() {
DecodingResult::U8(data) => assert_eq!(&img2[..], &data[..]),
(DecodingResult::U8(data), _chunk_info) => assert_eq!(&img2[..], &data[..]),
other => panic!("Incorrect strip type {:?}", other),
}
}