Sign in to follow this  
Followers 0
xrfang

An extended Pixel Search

4 posts in this topic

#1 ·  Posted (edited)

Hi All,

I wrote an extended pixel search tool (freeware for all AutoIt users :P). It consists of two components: the Pixel Reader tool and the pixfind DLL. Below is a description:

1. PixelReader

The PixelReader can take screenshot of current screen (or load a bitmap) and zoom it, let you choose a rectangle area and output a BGR string suitable for use with pixfind.dll

2. pixfind.dll

Not like the autoit built-in PixelSearch function which search a single pixel in an area, this dll export a function called FindPixel that will find a block of pixels on screen.

To download, please click the url below:

http://www.spamweed.com/dl.php?file=pixread.exe

Please note that the online help and dll is embeded in the EXE file (and this EXE file is NOT an archive, it is the tool itself :))

Future Plan

I plan to add FindPixelEx function to allow search within an area (not full screen) or to search in a specified window (by HWND). But this will be done later, while there are such requirements. So your feedback is welcome and appreciated!

post-14023-1186761320_thumb.png

Edited by xrfang

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Interesting work. wonder how it works

could you post the code?

Edited by searchresult

Share this post


Link to post
Share on other sites

Interesting work. wonder how it works

could you post the code?

Attached is the source code for pixfind.dll (delphi 6).

pixfind.zip

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