Jump to content

Quick newb question about PixelCheckSum...


stevey
 Share

Recommended Posts

=\

Sorry for the horrible question, but I am just starting to learn AutoIt...

Well, I am needing to know the total sum of pixels so that I can use the command PixelCheckSum... I searched forever including google, but no luck.. i found one post that said something about paint/photoshop, but I tried that and I can't figure out where it will give the total pixels... well anyways...if anybody could help that would be great.

Thanks!

Link to comment
Share on other sites

hhmm... this may not help i donno but your total pixel count is

X * Y if ur on 800X600 then your pixel count is 800 * 600... i dont think you need a pixel count to use PixelCheckSum though...im probably being an idiot again

~cdkd

AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide!
Link to comment
Share on other sites

hhmm... this may not help i donno but your total pixel count is

X * Y if ur on 800X600 then your pixel count is 800 * 600... i dont think you need a pixel count to use PixelCheckSum though...im probably being an idiot again

~cdkd

I don't think that is what I am meaning... here is an example..

If PixelChecksum(70, 290, 100, 305) = 365980723 Then

Endif

This is from some free source code I got.. how did the programmer find out the number 365980723? Isn't that the total count of certain pixels within that rectangle?

Link to comment
Share on other sites

Isn't that the total count of certain pixels within that rectangle?

PixelChecksum generates a number that depends on the pixel colors in the region specified.

You can determine the checksum number with a line of code like this:

MsgBox(0, "", PixelChecksum(70, 290, 100, 305))

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

PixelChecksum generates a number that depends on the pixel colors in the region specified.

You can determine the checksum number with a line of code like this:

MsgBox(0, "", PixelChecksum(70, 290, 100, 305))

Perfect. Thanks a bunch

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...