GammaCorrect example for C++ Builder
This example applies a 2.2 gamma correction and repaints the image.
Lead1->GammaCorrect(220); Lead1->ForceRepaint();