Sign in to follow this  
Followers 0
Burgs

PixelGetColor not functional on 'hidden' pixels?

7 posts in this topic

Greetings,

It would seem from my testing that the 'PixelGetColor' command cannot retrieve the colors of pixels that are not visible within the screen coordinates...for example pixels beyond the bounderies of a GUI in an image that is larger than the GUI window the image resides within. Can somebody verify if this is in fact the case? And, if so...is there some sort of work-around...I cannot think of one right now however my head is hurting from struggling with this to this point...

Thanks in advance.

Share this post


Link to post
Share on other sites



Is your image visible or not?


I feel nothing.It feels great.

Share this post


Link to post
Share on other sites

Thanks for the replies...yes the image is visible however since it is larger than the GUI that contains it, most of it is beyond the GUI bounderies and those pixels cannot be seen without 'scrolling'...those are the parts of the image I cannot 'read' the pixel colors. I seem to be able to use 'PixelGetColor' on those parts of the image that can be seen in the window without scrolling...it appears to be registering the differing pixel colors there.

I'll try to get some script posted tomorrow...little difficult right now. Thanks again.

Share this post


Link to post
Share on other sites

Thanks for the replies...yes the image is visible however since it is larger than the GUI that contains it, most of it is beyond the GUI bounderies and those pixels cannot be seen without 'scrolling'...those are the parts of the image I cannot 'read' the pixel colors. I seem to be able to use 'PixelGetColor' on those parts of the image that can be seen in the window without scrolling...it appears to be registering the differing pixel colors there.

I'll try to get some script posted tomorrow...little difficult right now. Thanks again.

There are some complicated ways to do it but it's not so easy. Just scroll to find the part you want to check and then use pixegetcolour


I feel nothing.It feels great.

Share this post


Link to post
Share on other sites

Hmmm OK I was afraid of that...having to scroll to keep the required pixels 'onscreen' to be scanned will not be easy...thanks anyway for the confirmation and the reply posts...

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  
Followers 0