Solarize example for Delphi

This example applies a solarize effect and repaints the image.

var
   sRet: Smallint;
   RasterProc: LEADRasterProcess;
begin
   RasterProc:= CreateComObject(CLASS_LEADRasterProcess) as LEADRasterProcess;
   RasterProc.Solarize (LEADRasterView1.Raster, 100);
   LEADRasterView1.ForceRepaint (sRet);
end;