PicturizeSingle example for C++ 5.0 and later
ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
ILEADRasterIO *pRasterIO=NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL, IID_ILEADRasterIO, (void**)&pRasterIO);
pRasterIO->Load (m_RasterView2.GetRaster (), "c:\\temp\\test.cmp", 0, 1, 1);
pRasterProc->PicturizeSingle (m_RasterView1.GetRaster(), m_RasterView2.GetRaster(), 20, 15, 200);
pRasterProc->Release();
pRasterIO->Release();