Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / how do u find out the colour of each pixel on an image?

Author
Message
Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 27th Dec 2004 06:01
how do u load an image and then find out the color of each pixel?

"Well, if he dies, it'll teach him not to do it again." - Me
MSon
21
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 27th Dec 2004 22:51 Edited at: 27th Dec 2004 23:06
Have you tried the Point Command?

Color = Point(X,Y)

You have to use this command on the screen or on a Bitmap.



If you want to search the whole image then you can do this like so...
Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 27th Dec 2004 23:09
doesnt work , i use DBC so i dont know if u use DBPro

"Well, if he dies, it'll teach him not to do it again." - Me
Code Ninja
22
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 29th Dec 2004 04:15 Edited at: 29th Dec 2004 04:17
here, try this

hope that helps

Dragael Software
Current Project: Nothing worth mentioning

Login to post a reply

Server time is: 2026-06-11 14:46:14
Your offset time is: 2026-06-11 14:46:14