Playing with pictures

Sys32
02-17-2005, 09:38 PM
Hello,

I'd like to know if it's possible to modify a picture's color in Visual Basic? I have a picture composed of 3 lines; 1 blue, 1 green and 1 red. I'd like to transform the red into black; is it doable? If so, please refer me to some documentation, or show me some code samples of it; if not, well... everything is possible, no? :D

passel
02-17-2005, 10:03 PM
The documentation should have come with Visual Basic.
The simplest, but not fastest, would be to loop through the picture's pixels and
use the Point functioin to read the color of the pixel, and when you find a red one,
then use Pset to set the pixel to Black.

Sys32
02-17-2005, 10:34 PM
Thanks, this helps alot :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum