Available in the LEADTOOLS Imaging toolkit.
AddNoise example for C++ 4.0 and later
This example adds red noise and redisplays the bitmap.
m_Lead1.AddNoise(500, CHANNEL_RED); m_Lead1.ForceRepaint();