Read the memory area of a image? (solved)
Posted: Wed Apr 15, 2009 8:39 pm
Okay, let's say I create a image this way:
And now I want to have access to the image-data stored in the memory and for example read the first byte like this:
But how do I get the image address?
What I want to do is very fast image analyzing and maybe manipulation too. Any advice?
Edit:
Feel free to move this to "Coding Questions", I posted the wrong place.
And btw, the result of my testing can be found here:
http://www.purebasic.fr/english/viewtopic.php?t=37112
Code: Select all
image = GetClipboardImage(#PB_Any)Code: Select all
Debug PeekB(imageAddress)What I want to do is very fast image analyzing and maybe manipulation too. Any advice?
Edit:
Feel free to move this to "Coding Questions", I posted the wrong place.
And btw, the result of my testing can be found here:
http://www.purebasic.fr/english/viewtopic.php?t=37112