Intensity example for Delphi
This example lightens the bitmap and repaints the image.
var
sRet: Smallint;
RasterProc: LEADRasterProcess;
begin
RasterProc:= CreateComObject (CLASS_LEADRasterProcess) as LEADRasterProcess;
RasterProc.Intensity (LEADRasterView1.Raster, 150);
LEADRasterView1.ForceRepaint (sRet);
end;