by Hou Xiong (2 Submissions)
Category: Graphics
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)

I'm not sure if this has been done before, but here it is. This program will automatically generate a mask which you can use with blt'ing transparent images using GDI32 or some others. You can also implement this code into your very own games and never have to make external masks! This is a fully operational program so you could use it to generate and save masks for your games or aplications.
Assumes
This program deals mainly with the PictureBox control.
The coding may be a little sloppy because I did it in 1 1/2 hours.
Side Effects
Might be a little slow with big images.