On Wed, 14 Dec 2005 21:53:32 -0500 (EST) "Gerardo Juarez" <[EMAIL PROTECTED]> wrote:
Hi Gerardo, > > Hi, I'm new to the list and just writing my second application in > python/Tkinter. I have skimmed over the digests of the list but have not > found this subject discussed. > > I have a Canvas and a PhotoImage displayed in it. The application draws a > number of lines and other vector-features over the image, which works > fine. Now, if I save the image, it is exactly that which is saved: the > image. What about the vectors? Is there a way to 'flatten' the two layers > that are there? > If not, how would you suggest I could save the vectors over the image as a > single image - short of retracing them with my own line-drawing routine on > the image? > I never tried it, but I believe the canvases postscript() method should do what you want, you would just have to convert its output file back into a gif or something. Regards Michael _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss