Hi everyone, How to get the image dimension of 32 bits and floating point images? this returns weird values , like 4294967295 for the width and 0 for height : #Include <GDIPlus.au3>
$theFile = "C:\Image.tga"
_GDIPlus_Startup()
$hImage = _GDIPlus_ImageLoadFromFile ( $theFile )
$iWidth = _GDIPlus_ImageGetWidth ( $hImage )
$iHeight = _GDIPlus_ImageGetHeight ( $hImage )
_GDIPlus_ImageDispose ( $hImage )
_GDIPlus_Shutdown()
ConsoleWrite ( "Image Dimensions = " & $iWidth " * " & $iHeight & @CRLF ) Same issue with Targa (.tga) images 32bits. Open EXR Sample images : Sample Images for download [EDIT1] Just wanted to add that this doesn't work either : [EDIT2] Solved using freeimage.