Is there another code to search bitmap in bitmap? Edit: I fixed this, but how to get x, y axis? My code: #include <GDIPlus.au3>
#Include <ScreenCapture.au3>
#include <string.au3>
#include <BmpSearch.au3>
$bDebug = False
Const $cMatchLinePercentage=0.99
const $c24RGBFullMatch=1 ;Load as 24 bits and full match
const $c24RGBPartialMatch=2 ;Load as 24 bits and partial match
const $c16RGBFullMatch=3 ;Load as 16 bits and full match
const $c16RGBPartialMatch=4 ;Load as 16 bits and partial match
Global const $Bitmap1Filename = _GDIPlus_ImageLoadFromFile(@ScriptDir & "\CALCULATOR.BMP")
Global Const $Bitmap2Filename = _GDIPlus_ImageLoadFromFile(@scriptDir & "\BACKSPACE.BMP")
findTester($Bitmap1Filename,$Bitmap1Filename,$c24RGBPartialMatch)
Func FindTester($BMP1, $BMP2, $Bool)
local $tResult
_GDIPlus_Startup ()
$start = TimerInit()
$tResult=findBMP($BMP1,$BMP2, $Bool)
ConsoleWrite($tResult)
EndFunc
_GDIPlus_Shutdown()