Forums > MaxMSP

Output Hue and Luminance from a jit,pwindow ?

Mar 19 2012 | 11:40 am

Hello everyone,

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,

Thank you

Mar 19 2012 | 12:03 pm

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 :)

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP