# File: ChapterGraphics/image0.py """ Only *.png files Point is the center of the image be aware of the image size """ from graphics import * def main(): win = GraphWin("Load first image", 600, 500) myImage = Image(Point(150,250), "dog.png") imX,imY= myImage.getWidth(),myImage.getHeight() #find size image msg = Text(Point(50,20),str(imX)+","+ str(imY)) msg.draw(win) myImage.draw(win) main()