mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 04:42:35 +00:00
untested luma8
This commit is contained in:
@@ -204,7 +204,7 @@ impl LuminanceSource for BufferedImageLuminanceSource {
|
||||
.collect::<Vec<&u8>>(); // get all the rows we want to look at
|
||||
|
||||
let data = unmanaged
|
||||
.chunks(self.image.width() as usize)
|
||||
.chunks_exact(self.image.width() as usize)
|
||||
.into_iter() // Get rows
|
||||
.flat_map(|f| {
|
||||
f.iter()
|
||||
|
||||
Reference in New Issue
Block a user