Can we 'get' hex Colour value from Mouse position?
-
I have a drop panel that loads a picture onto a panel.
Is there any way to extract the colour value from a specific pixel (x,y) on the panel?Colour dropper vibes.....
How does one do this?
-
@Chazrox
I think @d-healey made one.
Check his Github... -
@Oli-Ullmann he would!
Thanks. Im gonna look for that now. do you remember what the script was called? -
@Chazrox Does this help? https://forum.hise.audio/post/2480
-
@dannytaurus oh my...thats exactly what I want! yeeee!
Thank You! -
@d-healey I think this is a classic colour picker correct? Is it possible to extract hex from a user defined picture?
Say I draw an image onto a panel 300x300 and I want to get the colour value of pixel (200,200) on the panel. Is this possible?
Im trying to do some user custom theme functions where the colour of the gui background adapts colours from a user defined picture.
Possible?
-
@Chazrox not possible as far as I know
-
@d-healey Cool. I'll stop chasin that for now.

-
C Chazrox has marked this topic as solved
-
Yep wanted to do that kind of thing a while back but it seems Juce doesn't have a method to read the pixel under the mouse (or any pos..)