Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't run the Example "Image generation" #56

Open
c76d3656e opened this issue Apr 17, 2022 · 3 comments
Open

I can't run the Example "Image generation" #56

c76d3656e opened this issue Apr 17, 2022 · 3 comments

Comments

@c76d3656e
Copy link

the trait bound Luma<u8>: Element is not satisfied
required because of the requirements on the impl of qrcode::render::Pixel for Luma<u8> rustcE0277

the method build exists for struct Renderer<'_, Luma<u8>>, but its trait bounds were not satisfied
the following trait bounds were not satisfied:
Luma<u8>: qrcode::render::Pixel
<Luma<u8> as qrcode::render::Pixel>::Image = _ rustcE0599
color.rs(217, 1): doesn't satisfy <Luma<u8> as qrcode::render::Pixel>::Image = _
color.rs(217, 1): doesn't satisfy Luma<u8>: qrcode::render::Pixel

@constantoine
Copy link

Hello

I think you might be using image 0.24.X

This package supports image 0.23.X, some backwards incompatible changes may have been done in the new image version

@stephan57160
Copy link

Got the exact same here.

@vcrn
Copy link

vcrn commented Nov 5, 2022

Had to use image 0.22.0 for it to work. 0.23.0 did not work for me either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants