PDA

View Full Version : HSV <-> RGB conversion


d'Oursse
25th August 2005, 15:16
I would like to know if there is some RGB <-> HSV colorspace conversion code somewhere, in C, or better in asm. I have coded one but it's too slow (my code is here : http://svnweb.tuxfamily.org/filedetails.php?repname=youslinux+%28youslinux%29&path=%2Fetk%2Fsrc%2Flib%2Fetk_colorpicker.c&rev=0&sc=0 at the end of the file)

thank you

Wilbert
25th August 2005, 20:50
RGB <-> HSV colorspace conversion code somewhere, in C
In colorize of neuron2 (vdub filter) these conversions are implemented. I don't think it's faster than yours though.