Available in the LEADTOOLS Imaging toolkit.
GammaCorrect example for Visual Basic
Note: Also works with Access 95 and 97.
This example applies a 2.2 gamma correction and repaints the image.
Lead1.GammaCorrect 220 Lead1.ForceRepaint