Jump to content
Sign in to follow this  

Pixel Arrays

Recommended Posts


in diablo II the background behind words is the same color..it's not in that image.

you can do it but it'd be a bit harder.

the text looks like it's all the same color so the best way i can think to do it is to make a 2-dimensional array equal in size to then number of pixels in its width and height, then test each pixel in the image and see if it's the right color, if it is then put a 1 in the corresponding spot in the array, if it's not then put a 0.

then you'd have to figure out the patterns of each number, and use the array to figure out which numbers are there. that's probably the hardest part <_<

That was the advice a friend gave me on another site.


Thats the picture that i want to have my script reconize.

How would i go about starting this.. i was looking around but have no clue where to start...

anyone know how i would start this ordeal?

Share this post

Link to post
Share on other sites

Its in the Helpfile! <_<

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.