Sign in to follow this  
Followers 0
charvi

Start Coordinate for GetPixelColor(x,y)

4 posts in this topic

What is the start coordinate for GetPixelColor(x,y)?

Is it (0,0) or (1,1) ?

Share this post


Link to post
Share on other sites



That is a very minute difference, did you try them... what worked for you?

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

What is the start coordinate for GetPixelColor(x,y)?

Is it (0,0) or (1,1) ?

Top left corner is 0,0.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

@Valuater

Well, I needed a confirmation, I thought it was (0,0) but as I had unexepected results, I asked my AutoIt friends for sure...

I used a nested For Next with step -1, and pointing to y,x instead of x,y and forgot to add $max-1 so I had error on error... Sorry, it is my error, I'm still human lol.

@PsaltyDS

Thank you for the confirmation!

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