Fix 1bpp image decoding and add a test image (#252)
This commit is contained in:
1 parent
e28ad564d9
commit
96d3a02efe
4 files changed
+17
-7
No files matched your search
@@ -687,8 +687,6 @@ impl Image {
|
||||
let row = &mut row[..data_row_bytes];
|
||||
reader.read_exact(row)?;
|
||||
|
||||
println!("chunk={chunk_index}, index={i}");
|
||||
|
||||
// Skip horizontal padding
|
||||
if chunk_row_bytes > data_row_bytes {
|
||||
let len = u64::try_from(chunk_row_bytes - data_row_bytes)?;
|
||||
|
||||
Reference in new issue
Block a user