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

Incompatible version of 'image' library #6

Open
Tails opened this issue Sep 22, 2023 · 0 comments
Open

Incompatible version of 'image' library #6

Tails opened this issue Sep 22, 2023 · 0 comments

Comments

@Tails
Copy link

Tails commented Sep 22, 2023

Assuming the code would normally compile, it currently doesn't work because the image crate has changed its API. What is the concrete version of the 'image' crate that works for you when compiling? Should it be working with 0.23.12? And what Rust version? :)

error[E0599]: no method named `get_pixel` found for enum `DynamicImage` in the current scope
   --> src/image_operations.rs:42:26
    |
42  |             let px = img.get_pixel(x, y)
    |                          ^^^^^^^^^ method not found in `DynamicImage`
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

1 participant