Mosaic example for C++ Builder
This example applies a mosaic effect with 8x8 tiles and redisplays the bitmap.
LEADRasterProcess* pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&pRasterProc);
pRasterProc->Mosaic (LEADRasterView1->Raster, 8);
LEADRasterView1->ForceRepaint ();
pRasterProc-> Release( );