Abnormally Shapped Bitmap Position?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Munky
Newbie
Posts: 4
Joined: Wed Mar 21, 2007 9:41 am

Abnormally Shapped Bitmap Position?

Post by Munky » Wed Mar 21, 2007 9:45 am

Been usin FindImagePos - my question is, is there a 'transparency' color that will ignore comparison of those pixels?

i want to scan for an abnormally shapped icon [arrow] but the color behind the 'ears' of this arrow change...

was thinking of just making it scan for just say the centerline of the arrow, but it would be more accurate if i could also find the 'ears' too so as to be 100% its that specific arrow and not some crazy line

havent been all the way through the help file yet, but if something like this already exists lemme know :D

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Mar 21, 2007 10:17 am

Right now there is no way to handle transparent colours. You can lower the colour tolerance but that may not help. Realistically, if possible, you will need to use a section of the search image so that the transparency is not an issue, or maybe there's a way to guarantee the background color.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Munky
Newbie
Posts: 4
Joined: Wed Mar 21, 2007 9:41 am

Post by Munky » Wed Mar 21, 2007 10:36 am

actually i think i answered my own question, basically i could just do a multiple check to check different parts of the arrow at a time and if all = true then return true. tho that would be slightly intensive, its not like its gotta be extremely fast.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts