tell application "Image Events" launch set ImgObj to open ImgFile set {GetImgWidth, GetImgHeight} to dimensions of ImgObj close ImgObj end tell