> thanks for the tip will give it a try. But there is still
> the issue that the function documentation is wrong. Therefore
> It could be that the hsv_color_range function is expecting
> different values.

        Ok, took a quick look, and... Yeah, that whole imlib2 grad
implementation is screwed.. and you're right, part of the problem
is that values are assumed to be in a different range scale than
the usual (ie. what the docs state). Using the evas version of the
hsv-to-rgb function will make things worse unless you also use the
rgb-to-hsv version of that function.

        I suggest replacing both the rgb-to-hsv and hsv-to-rgb
implementations in imlib2 with those used in evas and keep the
documentation as is. Test it, and if that works for you then send
it as a patch. :)

_____________________________________________________________
Free comparison of top car rental companies. Click Here!
http://thirdpartyoffers.juno.com/TGL2121/fc/Ioyw6i3nMUoueJtZoo7GxUezgCVk2Tkm2r0Z4HCkdyh6h2J6CCdaWE/



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to