Brightness and Contrast

Chipp Walters chipp at chipp.com
Sun Jan 13 15:45:01 EST 2002


You could use a black or white graphic over the image and use the alpha
setting for the graphic to lighten or darken the original image. This will
control the brightness but not the contrast.

-c

-----Original Message-----
From: use-revolution-admin at lists.runrev.com
[mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Jeanne A. E.
DeVoto
Sent: Sunday, January 13, 2002 1:04 AM
To: use-revolution at lists.runrev.com
Subject: Re: Brightness and Contrast


At 2:18 AM -0800 1/12/2002, Marten van den Berg wrote:
>I want to control the brightness and contrast of images within revolution.
>Any suggestions how this can be done are welcome.

Hmmmm. I don't have a ready-made recipe for this (yet)... but you can
control the image data directly via the imageData property, and you might
look into altering the brightness and contrast by directly manipulating the
actual RGB data.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!


_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list