I need to resize an image, but I want to avoid PIL, since I cannot make it work under OS X - don\'t ask me why...
Anyway since I am satisfied with gif/pgm/ppm, the P
You have to either use the subsample() or the zoom() methods of the PhotoImage class. For the first option you first have to calculate the scale factors, simply explained in the following lines:
subsample()
zoom()
PhotoImage
scale_w = new_width/old_width scale_h = new_height/old_height photoImg.zoom(scale_w, scale_h)