I have two questions:
1) is there a way that i can store a pixel from a picture box picture and place it into another picture box?
2)how can i save a picture box as a *.bmp
Printable View
I have two questions:
1) is there a way that i can store a pixel from a picture box picture and place it into another picture box?
2)how can i save a picture box as a *.bmp
You can use the Point Method to Get the Color of a Pixel in a Picturebox and the PSet Method to Set a Pixel Color of a Picturebox, eg.
Picture2.PSet(X, Y), Picture1.Point(X, Y) 'Copies a Pixel From Picture1 to Picture2
To Save an Image in a Picturebox as a Bitmap, use the SavePicture Function, eg.
SavePicture Picture1.Image, "C:\BMPS\MyBmp.bmp" 'Save the Image in Picture1 to the File "C:\BMPS\MyBmp.bmp" as a Bitmap.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]