Page 1 of 1

Read the memory area of a image? (solved)

Posted: Wed Apr 15, 2009 8:39 pm
by Joakim Christiansen
Okay, let's say I create a image this way:

Code: Select all

image = GetClipboardImage(#PB_Any)
And now I want to have access to the image-data stored in the memory and for example read the first byte like this:

Code: Select all

Debug PeekB(imageAddress)
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

Posted: Wed Apr 15, 2009 8:48 pm
by Joakim Christiansen
Okay maybe I can use this, haha, looks like I wondered about this before:
http://www.purebasic.fr/english/viewtop ... ry+address :lol:

Posted: Thu Apr 16, 2009 6:42 am
by dige
:lol: