image resize doesn't work
Chris Hare
chare at labr.net
Sun Aug 1 08:35:00 EDT 2010
More information about the Python-list mailing list
Sun Aug 1 08:35:00 EDT 2010
- Previous message (by thread): class doesn't open its window - newbie question
- Next message (by thread): image resize doesn't work
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.open("image.png")
photo = ImageTk.PhotoImage(imagePNG
canvasWidth = 300
canvasHeight = 275
photo = ImagePNG.resize((canvasWidth,canvasHeight),Image.ANTIALIAS)
netRadarImage = Label(w, image=photo)
- Previous message (by thread): class doesn't open its window - newbie question
- Next message (by thread): image resize doesn't work
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list