I'm working on making changes to a GUI program that I did not write. It
uses PIL and Tkinter. I'm pretty much making good progress, but my
question is what each class really does with respect to each other?
Here's my view. When I noticed that both have an arc method that gave me pause. Apparently, PIL provides IP (image processing: blur, graphic format conversion, color transforms, anti-aliasing, resizing, etc.), while Tkinter provides widgets. In PIL, arc allows one to draw on images but doesn't allow one to display them. The display and presentation is the function of Tkinter, and can draw on the widget canvas where an image, from PIL, might be placed. Comments? I have some pretty fair web material on this, which I'm still reading. New Mexico, Lundh, and Tkinter Book. --
Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time) Copper and its alloys have been found effective in hospital sinks, hand rails, beds, ... in significantly reducing bacteria. Estimates are 1/20 people admitted to a hospital become infected, and 1/20 die from the infection. -- NPR Science Friday, 01/16/2009 Web Page: <www.speckledwithstars.net/> |
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor