Reverted read_strip and read_tile to previous call signature

Added comments to ChunkInfo
This commit is contained in:
Alan Race committed 2022-05-09 09:17:39 +02:00
1 parent e57ca1a926
commit 6bec36ab20
3 files changed
+20 -9

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), _chunk_info) => assert_eq!(&img2[..], &data[..]),
DecodingResult::U8(data) => assert_eq!(&img2[..], &data[..]),
other => panic!("Incorrect strip type {:?}", other),
}
}