Mit diesem Code kann ich schon mal, 2 geladene Bilder auf ein schwarzen geladenen Hintergrund abbspeichern.
[autoit]#include <GDIplus.au3>
[/autoit][autoit][/autoit][autoit]FileCopy("C:\backup\128_schwarz.png","C:\128_schwarz.png",1)
[/autoit][autoit][/autoit][autoit]_GDIPlus_Startup()
$hintergrund = _GDIPlus_ImageLoadFromFile("C:\128_schwarz.png")
$Image_1 = _GDIPlus_ImageLoadFromFile("C:\image_1_64x64.png")
$Image_2 = _GDIPlus_ImageLoadFromFile("C:\image_2_64x64.png")
$hGraphic = _GDIPlus_ImageGetGraphicsContext($hintergrund)
_GDIPlus_GraphicsDrawImage($hGraphic, $Image_1 , 0, 0)
_GDIPlus_GraphicsDrawImage($hGraphic, $Image_2 , 64, 0)
_GDIPlus_ImageSaveToFile($hintergrund, "C:\save.png")
_GDIPlus_GraphicsDispose($hGraphic)
_GDIPlus_ImageDispose($hintergrund)
_GDIPlus_ImageDispose($Image_1)
_GDIPlus_ImageDispose($Image_2)
_GDIPlus_Shutdown()
Ich möchte den schwarzen Hintergrund aber gerne mit GDI erstellt bekommen bzw. ohne den aus der Datei laden zu müssen. Pls Help