> > > 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. :) >
I replaced both functions as you suggested. No it looks a little better but not much. From my perspective the problem is that imlib2 stores color ranges internally in rgb. Maybe a better solution is to calculate the hsv color by myself and draw each line by myself. Although it may be less efficient however in this case I have one advantage to the imlib2 hsv color range function: I will not loose information from back and forth converting between colorspaces. Alil ------------------------------------------------------------------------- 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