Is it possible to display a PNG file in an AutoIT GUI?
I was trying to use GUICtrlCreatePic but it only supports JPG, GIF and BMP.
It is possible to display a PNG image in a pic control using GDI+.
Example:
;coded by UEZ 2011
#include <GUIConstantsEx.au3>
#include <GDIPlus.au3>
Global Const $IMAGE_BITMAP = 0
Global Const $STM_SETIMAGE = 0x0172
Global $msg
Global Const $hGUI = GUICreate("Display PNG Image in picture control", 600, 250)
Global Const $idPic = GUICtrlCreatePic("", 215, 20)
_GDIPlus_Startup()
Global Const $png = StringReplace(@AutoItExe, "autoit3.exe", "ExamplesGUITorus.png")
Global Const $hIma