Hello. Attached are two images converted from the same source image. One created by Directory Opus and the other created by ImageMagick.
The ImageMagick image will not display in an AutoIt GUI, but those created by other programs work fine (I also tried GIMP and IrfanView converts).
Any idea what's wrong?
My ImageMagick command line:
convert.exe "C:\Program Files (x86)\AutoIt3\Examples\GUI\mslogo.jpg" "imagemagick_convert.bmp"
Example code:
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
GUICreate("My GUI picture", 350, 300, -1, -1, $WS_SIZEBOX + $WS_SYSMENU)
Local $idPic = GUICtrlCreatePic("DOpus_convert.bmp", 50, 50, 200, 50)
Local $idPic2 = GUICtrlCreatePic("imagemagick_convert.bmp", 50, 120, 200, 50)
GUISetState(@SW_SHOW)
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
EndSwitch
WEnd
GUIDelete()
DOpus_convert.bmp
imagemagick_convert.bmp