image resize doesn't work

Chris Hare chare at
Sun Aug 1 14:35:00 CEST 2010

I have the following chunk of code.  Although it seems to execute fine, no errors, the image is never resized.  What am I missing?

		imagePNG ="image.png")
		photo = ImageTk.PhotoImage(imagePNG
		canvasWidth = 300
		canvasHeight = 275
		photo = ImagePNG.resize((canvasWidth,canvasHeight),Image.ANTIALIAS)
		netRadarImage = Label(w, image=photo)

More information about the Python-list mailing list