Minimal example of using screen/multiply wanted #266
ProgrammingLife
started this conversation in
General
Replies: 2 comments 3 replies
-
Hello! Similar to your question about the hue related trait, if you are using the examples in the repo at the moment, they will be written for a future version of the library. The recommended way to convert from an array in 0.6.0 is to use the Pixel trait. After you have your |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the reply! I don't understand how to convert it back to image::Pixel after having
I have no clue how should it work... |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Could you please provide me with a little example of using screen/multiply blend modes to get new modified pixel?
My attempt is:
I get following error message near "Srgb::from":
What do I do wrong? How to fix this issue?
Env:
rust: rustc 1.57.0 (f1edd0429 2021-11-29)
os: Linux Mint 19.1
Cargo.toml:
Beta Was this translation helpful? Give feedback.
All reactions