Ben:
Thanks. This does a better job.
Best,
Bill
William A. Prothero
http://es.earthednet.org/
On Oct 9, 2014, at 2:38 AM, Ben Rubinstein wrote:
> In the standard formula for RGB -> HSL (Hue, Saturation, Lightness),
> Lightness is calculated as the average of the max and min of the RGB values.
om black to
yellow text.
Tiemo
-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
Auftrag
von William Prothero
Gesendet: Dienstag, 7. Oktober 2014 21:59
An: Use-livecode Use-livecode
Betreff: Convert rgb to lightness or darkness
Folks:
I’m p
vecode-boun...@lists.runrev.com] Im
Auftrag
> von William Prothero
> Gesendet: Dienstag, 7. Oktober 2014 21:59
> An: Use-livecode Use-livecode
> Betreff: Convert rgb to lightness or darkness
>
> Folks:
> Im putting text on an image that will be turned into a snapshot. The
image
> goes from
Folks:
I’m putting text on an image that will be turned into a snapshot. The image
goes from light to dark. The text is a one or two digit integer. I want it to
show up on the image. For dark parts of the image, I set it to yellow, but for
light parts of the image, I want to set it to black. Is