Microsoft Small Basic

Program Listing: VVC894
' Sample Code for ImageList Object

TextWindow.Write("Image filename? ")
url = TextWindow.Read()
img = ImageList.LoadImage(url)
width = ImageList.GetWidthOfImage(img)
height = ImageList.GetHeightOfImage(img)
TextWindow.WriteLine("Size:" + width + "x" + height)