PDA

Click to See Complete Forum and Search --> : Reading an image file


Sastraxi
Jun 3rd, 2002, 03:28 PM
You don't have to; use the Picturebox control. Load your bitmap into it and use either the internal Pset and Point functions, or the faster GetPixel and SetPixelV API functions. Converting to grayscale is also easy. Some say that you can just add the red, green, and blue channels but it isn't that easy; you need to weight each differently.

I suggest looking up all of these, and soon you'll be ready to .SavePicture your bitmap to the disk!

If you need an example, message me.

Kirun
Jun 4th, 2002, 05:16 AM
yeh if you plz can send me some example . then it would be better