Available in the LEADTOOLS Imaging toolkit.
Contrast example for C++ 4.0 and later
This example increases the contrast and repaints the image.
m_Lead1.Contrast(50); m_Lead1.ForceRepaint();