What is the best way to get the pixels from any picture file in VB6.
I was thinking i could load the picture in a control that has a Device Context (maybe picturebox) and use the API function getPixel to get them. However that function requires an xPos and a yPos. How would i go about finding the xPos and yPos for all the pixels in the picture relative to the application and the screen.
If anyone has any idea how to do this or has a better way then I am all ears
thx in advance
P.S. what about setting pixels too, how could that be implemented?