Color Conversion - RGB to HSV and back... (almost)

2017-04-13 Thread Alejandro Tejada via use-livecode
Hi All, Download this GUI Stack for Scott Raney's Color Conversion Functions: RGB to HSV and HSV to RGB from this forum post: http://forums.livecode.com/viewtopic.php?f=10&t=29127 Only for certain colors this is a lossy conversion: Once you convert some RGB colors to HSV, the function HSVtoRGB do

Color Conversion - RGB to HSV and back... (almost)

2017-04-26 Thread Alejandro Tejada via use-livecode
Hi Mike, Many thanks for posting a link to your compilation stack: Master Library. How many new LiveCode users are aware of this wonderful resource? Thanks again for posting this. Sorry for replying so late, but recently I am not feeling well. Food intoxication is my educated guess... :( Because

Re: Color Conversion - RGB to HSV and back... (almost)

2017-04-14 Thread Michael Doub via use-livecode
Al, I wrote some color conversion routines a long time ago. They are in the MasterLibrary: https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 I cant comment on their ability to not loose precision on a round trip. -= Mike On 4/13/17 6:14 PM, Alejandro Tejada via use-livec