Available in the LEADTOOLS Imaging toolkit.
Mosaic example for C++ 4.0 and later
This example applies a mosaic effect with 8x8 tiles and redisplays the bitmap.
m_Lead1.Mosaic(8); m_Lead1.ForceRepaint();