#(I started rust last night) How can I store only brightness values of an Image
19 messages · Page 1 of 1 (latest)
image::imageops::to_grayscale
takes a T implementing GenericImage
What's that?
Convert the supplied image to grayscale. Alpha channel is discarded.
Rust sure loves the "::"'s
So I pass in the opened image into function? I don't want to store the array that has RBG at all preferably but that should not be an issue since Rust does that weird thing when variables are copied they get removed.
!close
/close
?close
how do I close this breh
use the 3 dots
no in the top right
I did but it still is open
