Greetings!
Maybe I'm a bit late with that, but @rony2006
Your console error reason is the images are missing.
You can fix it by changing this
$f1 = binary(_INetGetSource("http://prodynamics.co/link.php?CMD=file&ID=compare1")) ;image 1
$f2 = binary(_INetGetSource("http://prodynamics.co/link.php?CMD=file&ID=compare2")) ;image 2 brighter
to that
$f1 = binary(_INetGetSource("https://www.imgonline.com.ua/examples/difference.jpg")) ;image 1
$f2 = binary(_INetGetSource("https://www.imgonline.com.ua/examples/difference2.jpg")) ;image 2 brighter
Or you can just use files locally
$f1 = binary(FileRead(@ScriptDir & "\difference.jpg"))
$f2 = binary(FileRead(@ScriptDir & "\difference2.jpg"))
Have fun with it!