mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
Passing blackbox tests aztec
This commit is contained in:
@@ -97,7 +97,6 @@ impl BufferedImageLuminanceSource {
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
|
||||
Self {
|
||||
image: DynamicImage::from(image.to_luma8()),
|
||||
@@ -191,7 +190,7 @@ impl LuminanceSource for BufferedImageLuminanceSource {
|
||||
&self.image.to_luma8(),
|
||||
MINUS_45_IN_RADIANS,
|
||||
imageproc::geometric_transformations::Interpolation::Nearest,
|
||||
Luma([255; 1]),
|
||||
Luma([u8::MAX/2; 1]),
|
||||
);
|
||||
|
||||
let new_img = DynamicImage::from(img);
|
||||
|
||||
Reference in New Issue
Block a user