I am working on a project and I’m faced with a problem.
I want to get the Hue and Luminance of the average color of a jit.pwindow
I didn’t have any trouble to calculate the average color of the jit.pwindow but I can’t find a way to output its hue and luminance.
All I can do is output the argb values.
Is there a way to convert the argb values to hue and luminance ?
Or is there other ways to do this ?
I hope you will help me,
Hey forget what I said, I’ve just resolved my problem…
I found out how to use the jit.argb2hsl object that did exactly what I wanted :)
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74