Added functionality for loading selected strip
This commit is contained in:
1 parent
ca4da33dd7
commit
e57ca1a926
4 files changed
+30
-22
No files matched your search
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user