Available in the LEADTOOLS Imaging toolkit.
StretchIntensity example for Visual Basic
Note: Also works with Access 95 and 97.
This example stretches the intensity and redisplays the image.
Lead1.StretchIntensity Lead1.ForceRepaint