Available in the LEADTOOLS Imaging toolkit.
Grayscale example for Visual Basic
Note: Also works with Access 95 and 97.
This example converts the bitmap to 12-bit grayscale.
Lead1.Grayscale 12 'Grayscale image to 12-bit