tsolrm Posted January 23, 2010 Share 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? Link to comment Share on other sites More sharing options...
somdcomputerguy Posted January 23, 2010 Share Posted January 23, 2010 Function PixelSearch - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 23, 2010 Share 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 Link to comment Share on other sites More sharing options...
tsolrm Posted January 23, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
ForsakenGod Posted January 23, 2010 Share 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 Link to comment Share on other sites More sharing options...
tsolrm Posted January 23, 2010 Author Share 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. Link to comment Share on other sites More sharing options...
Bowmore Posted January 23, 2010 Share 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 Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 23, 2010 Share 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 Link to comment Share on other sites More sharing options...
JohnOne Posted January 24, 2010 Share 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. Link to comment Share on other sites More sharing options...
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