Hallo!
Ich habe folgendes Script.
Spoiler anzeigen
[autoit]
$NewW = 1000
$NewH = 1000
_GDIPlus_Startup()
$hImage = _GDIPlus_ImageLoadFromFile($FILE)
; Create sized BMP
$hGraphicsImg = _GDIPlus_ImageGetGraphicsContext($hImage)
$hBitMap = _GDIPlus_BitmapCreateFromGraphics($NewW,$NewH,$hGraphicsImg)
_GDIPlus_GraphicsDispose($hGraphicsImg)
; ------------
; Create sized BMP
$hGraphics = _GDIPlus_ImageGetGraphicsContext($hBitMap)
_GDIPlus_GraphicsDrawImageRect($hGraphics,$hImage,0,0,$NewW,$NewH)
_GDIPlus_GraphicsDispose($hGraphics)
;-----------------
_GDIPlus_ImageSaveToFile($hBitMap,$NewFile)
[/autoit] [autoit][/autoit] [autoit]; Cleanup
_GDIPlus_ImageDispose($hImage)
_GDIPlus_BitmapDispose($hBitMap)
_GDIPlus_Shutdown()
[/autoit]Problem damit ist das es keine Gif Bilder umwandelt.
Weiß jemand Rat?