SRL Archive - Discussions and Debates

HSL Problemos


TheGodfather

2007-04-23 02:30:09

Is it just me or does only FindHue work out of all of the functions. (findhue, findsaturation, findluminance)

edit:

Is there any way to combine all 3 into one FindHSL?

Wizzup?

2007-04-23 02:42:54

If FindColorsSpiralTolerance Then
For I := 0 To GetArrayLength(FCSTResult) Do
Begin
HSLToColors(H, S, L)
If H > And H < And S > And S < And L > And L < Then
Begin
OtherStuff;
Exit;
End;
End;

Something like that, with TPointArrays

omgh4x0rz

2007-04-23 06:14:04

So FCSTarray is just the coordinates where findcolorspiraltol found the original color?