Scaling an ImageTk.PhotoImage
fredrik at pythonware.com
Sun Mar 14 18:32:38 CET 2004
James Anderson wrote:
> I'm have a bitmap which I can display as an ImageTk.PhotoImage and would
> like to display it and double or quadruple size. The bitmap itself is
> generated inside my program, so converting it to another format isn't
> really practical. Does anyone know an easy way to do this?
did you mean Tkinter.PhotoImage?
if you really mean ImageTk.PhotoImage, is there any reason you
cannot just resize the original Image object, and wrap it in a new
More information about the Python-list