11月272017
获取图片尺寸
Include <GDIPlus.au3>
local $sPng = RegRead('HKLM\SOFTWARE\AutoIt v3\AutoIt', 'InstallDir') & '\Examples\GUI\Torus.png'
_GDIPlus_Startup()
$hImage = _GDIPlus_ImageLoadFromFile($sPng)
$ImgWidth= _GDIPlus_ImageGetWidth($hImage)
$ImgHeight=_GDIPlus_ImageGetHeight($hImage)
_GDIPlus_ImageDispose($hImage)
_GDIPlus_Shutdown()
msgbox(0,0,"Width="&$ImgWidth&@crlf&"Height="&$ImgHeight)
扫描二维码,在手机上阅读
发表评论
木有头像就木JJ啦!还木有头像吗?点这里申请属于你的个性Gravatar头像吧!