Passing blackbox tests aztec

This commit is contained in:
Henry Schimke
2022-09-30 15:53:15 -05:00
parent b1051f01df
commit 438ae9f588
4 changed files with 36 additions and 25 deletions

View File

@@ -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);