Function GetImageWidth

GetImageWidth(image)
The function returns an image width. Example:
$Pony = #"pony.png"
nScreenCenterX = GetWidth() / 2
nScreenCenterY = GetHeight() / 2
DrawImage(nScreenCenterX - GetImageWidth($Pony) / 2, nScreenCenterY - GetImageHeight($Pony) / 2, $Pony)
This is how result would look like (red coordinates are just for reference):

See also: