Reverted read_strip and read_tile to previous call signature

Added comments to ChunkInfo
This commit is contained in:
Alan Race committed 2022-05-03 09:21:23 +02:00
1 parent dd8c9e4f2b
commit 1f501b5acb
3 files changed
+22 -11

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),
}
}