GammaCorrect example for C++ 5.0 and later
This example applies a 2.2 gamma correction and repaints the image.
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL,
IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->GammaCorrect(m_LEADRasterView1.GetRaster(), 220);
m_LEADRasterView1.ForceRepaint();
pRasterProc->Release();