VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Fast Greyscale Image Conversion

Robert Eunice  (1 Submission)   Graphics   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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.

Returns
Nice greyscale image.

Rate Fast Greyscale Image Conversion (4(4 Vote))
Fast Greyscale Image Conversion.bas

Fast Greyscale Image Conversion Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters