Jump to content
Sign in to follow this  

Image Search

Recommended Posts

Hello !

A few years ago user Sven changed the code of library imagesearch to find pictures with transparency. I dont know why...but this  option doesnt work for me.

Main treat: https://www.autoitscript.com/forum/topic/102430-imagesearch-reading-from-resources/#comment-727331 

When I try to find and image normally without any transparent elements it works normally....but when I add to transparecy option: 0xffffff

It doesnt work...unless my picture has white color on place which I want transparent.

Can you help me ? I would be very thankful.

Thnx !

my code:

#include <ImageSearch.au3>

HotKeySet("{ESC}", "_End")

Global $X=0
Global $Y=0


While 1
  $Search = _ImageSearch('element.bmp',0,$x,$y,0,0xFFFFFF)
   If $Search = 1 Then

Func _End()

+I am adding a file which I am looking(element.bmp) for+library and its DLL




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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...