Jump to content
Sign in to follow this  

PixelCheckSum parameters

Recommended Posts

EDIT: I got no idea what went on in my mind here, I figured it all out by testing.

Just ignore

I have an image beginning at 100 pixels from the left and 100 pixels from the top of my screen (the images first top-left pixel would be 101, 101).

I want a checksum of my image.

Which call is correct?

$checksum = PixelChecksum(100, 100, 400, 400)


$checksum = PixelChecksum(99, 99, 399, 399)

I'm asking because function calls like PixelGetColor(10, 100) in fact returns the 11th and 101st pixel ("the next one")

Also, If I want default parameter values for step and hwnd, but mode 1, do I type:

$checksum = PixelChecksum(100, 100, 400, 400, "", "", 1)



Edited by Xibalba

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...