by Robert Eunice (1 Submission)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)
Shows how to convert an image in a PictureBox to its equivalent greyscale image.
Inputs
Source picture box named "picSource". Destination picture box named "picDest". Command button named "cmdProcess".
Assumes
Load the picture into the picSource box by using the "Picture" property of the PictureBox. The picDest.AutoRedraw property must be "True" in order for this code to work.
Code Returns
Nice greyscale image.
Upload