GammaCorrect example for C++ Builder

This example applies a 2.2 gamma correction and repaints the image.

   LEADRasterProcess* pRasterProc= NULL;

     CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);

   pRasterProc->GammaCorrect (LEADRasterView1->Raster, 220);
   LEADRasterView1->ForceRepaint ();
   pRasterProc-> Release( );