tsolrm Posted January 23, 2010 Posted January 23, 2010 I'm aware that you can search for a pixel of a certain color. However I need to search for a block of pixels (a small picture) and then click on it - is this possible to achieve with autoit?
somdcomputerguy Posted January 23, 2010 Posted January 23, 2010 Function PixelSearch - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
AdmiralAlkex Posted January 23, 2010 Posted January 23, 2010 Find BMP in another BMP (imagesearch) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
tsolrm Posted January 23, 2010 Author Posted January 23, 2010 I know that you can search for a pixel in a block of pixels however I need to search for a block of pixels
ForsakenGod Posted January 23, 2010 Posted January 23, 2010 I know that you can search for a pixel in a block of pixels however I need to search for a block of pixelsAnd we know what you are asking for but both answers mentioned here are ways how to achieve it
tsolrm Posted January 23, 2010 Author Posted January 23, 2010 And we know what you are asking for but both answers mentioned here are ways how to achieve itThe second answer doesn't suit me - it takes too long (1.5 - 4 seconds wtf?)The first post is a link to PixelSearch, well I've read that it's not an answer. That only allows me to search a block of pixels for a certain colour.
Bowmore Posted January 23, 2010 Posted January 23, 2010 (edited) The second answer doesn't suit me - it takes too long (1.5 - 4 seconds wtf?)Did you read the linked tread? Those times are for searching the whole screen. If you can restrict the area you search for a match it very much quicker. I very much doubt you will find a significantly faster method using AutoIt. Looking for an image within a image requires a lot of individual comparisons to be made. Edited January 23, 2010 by Bowmore "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook
AdmiralAlkex Posted January 23, 2010 Posted January 23, 2010 The second answer doesn't suit me - it takes too long (1.5 - 4 seconds wtf?)The first post is a link to PixelSearch, well I've read that it's not an answer. That only allows me to search a block of pixels for a certain colour.If the solutions that exist doesn't fit you, then create your own. In this case, learn C or whatever, create a dll and call it from AutoIt. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
JohnOne Posted January 24, 2010 Posted January 24, 2010 I dont even know why Im in this thread cause you sound really obnoxious. But hey ho, http://www.autoitscript.com/forum/index.php?showtopic=95623 Great function I've used in the past by SmOke_N. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now