Hey guys,
For those who would need it, here is an updated package which allows image searching using transparency, fixing previous bugs and including an easy example.
Usage: open the search.bmp image, run the script and it will use imagesearch to find the red square on your screen and move your mouse cursor in the middle of the square.
This gives you an easy example on how to find an image (in this example, a red square) using a transparency setting (in this case, using white as the transparency color).
Note that this only works if the image you are searching for (so the red square in this example) is not having transparent pixels itself.
Some images have what is called an alpha channel mask, which means each pixel has an RGB value but also an alpha channel value which describes the transparency setting of this specific pixel.
In this case since the ImageSearch transparency feature does not deal with alpha channel masks, it's impossible to find such an image using it. You'll need something more sophisticated
ImageSearchTransparency2023.zip