Click to See Complete Forum and Search --> : Black and White images ??
MacDuke
May 29th, 2001, 08:51 AM
Hi, anyone can tell me whow can I show a image in Black and white?
That image is in a image control (I know this control has somo limitations )
Thanks,
Fox
May 29th, 2001, 09:44 AM
You'll need a picturebox instead.. that's for sure
hm, think we already had that topic... go search the archive ;)
MacDuke
May 29th, 2001, 10:00 AM
yes I have to use a picture box, but how can I put the image in Black and white?
Thanks
Sastraxi
May 29th, 2001, 03:42 PM
If it's true B & W ---
You'll have to convert to HSB, the if the B < 128 then it's black, over it's white.
Use Setpixel/Ddraw to do this.
I know it seems like a lot, but easy is destroyed in VB. :D
(but you will get good results)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.