Mosaic example for C++ 5.0 and later

This example applies a mosaic effect with 8x8 tiles and redisplays the bitmap.

ILEADRasterProcess *pRasterProc=NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL,
                 IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->Mosaic(m_LEADRasterView1.GetRaster(), 8);
m_LEADRasterView1.ForceRepaint();
pRasterProc->Release();