This is my first Visual Basic application. I mainly do console applications in C++ and since working with pixels seems to be difficult in C++ I preferred to use VB 2005 for that. What I need to do is to read and save the colors of the pixels of a picturebox located on a form into an array. I then will manipulate the color values and create a new picture. I wonder if somebody could show me how to do that without asking me what my code is. I've struggled the whole day and so far I've realized that to draw a pixel you should draw an ellipsoid like:
e.Graphics.DrawEllipse(Pens.Red, 70, 70, 1, 1)in the picturebox_paint procedure.
What I need to learn is how to read the color values, and how to initiate creating the new picture by pressing a button (because I don't want the part for drawing a pixel be in the picture_box procedure.)
Any type of help will be highly appreciated.