Hey guys ! =)
I have a little question. I'm pretty good in Autoit I guess but I haven't worked with GDI+ for quite some time and I can't get it to work.
I have a simple script without a GUI. In the script directory I habe a file, let's call it "test.bmp".
Now upon execution I want the script draw something (a rect or a line or whatever) into "test.bmp" without opening any windows. Its this possible?
#include <GDIPlus.au3>
$file = @ScriptDir&"\test.bmp"
_GDIPlus_Startup()
;What do I have to add here?
_GDIPlus_GraphicsDrawLine(hGraphic, 10, 10, 50, 50) ;<- how do I make my file the hGraphic?
_GDIPlus_Shutdown()
Exit
Thank you so much for any help!