Hi All.
I'm trying to get pics difference in %. I tried to use ImageMagickObject.dll as it is fast enough & free under it's license.
#include <WindowsConstants.au3>
$DllExist = 1
Global $oIM = ObjCreate ("ImageMagickObject.MagickImage.1")
If @error OR NOT IsObj ($oIM) Then
If NOT FileExists ("ImageMagickObject.dll") Then
MsgBox (16, "!", "No ImageMagickObject.dll - work impossible.")
Exit
EndIf
RunWait (@ComSpec & " /c regsvr32 /s ImageMagickObject.dll", @ScriptDir
Can you try this (GDI+ version only):
AutoIt version 3.3.10.0 or higher needed!
#include <Array.au3>
#include <GDIPlus.au3>
#include <MsgBoxConstants.au3>
_GDIPlus_Startup()
Global $hImage1, $hImage2
Global $sImages = FileOpenDialog("Select 2 images", "", "Image (*.bmp;*.jpg;*.png;*.gif)", $FD_MULTISELECT)
If @error Then _Exit("Nothing selected")
Global $aFiles = StringSplit($sImages, "|", 2)
If (UBound($aFiles)