TImageEnProc.Colorize
Declaration
procedure Colorize(hue: Integer; saturation: Integer; luminosity: Double);
Description
Set the hue and saturation for all pixels of the image. It also adjusts the luminosity using a multiplier.
Parameter Description
hue A value between 0 and 359 (corresponding to 0 to 359 degrees around hexcone)
saturation A value between 0 (shade of gray) and 99 (pure color).
luminosity This is 1 if you don't touch the original luminosity. Whereas 1.1 would equate to 10% increase in luminosity, for example
Example
// Apply a sepia effect to the image
ImageEnView.Proc.Colorize(40, 50, 1.1);
Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development