By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,772 Members | 935 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,772 IT Pros & Developers. It's quick & easy.

Converting a Tkinter Canvas item to a format that Picture functions understand

P: 5
I was wondering how I can take what is on the Canvas (from Tkinter), and convert it into a picture so that it is the correct format for Picture functions.
Nov 22 '07 #1
Share this Question
Share on Google+
4 Replies

Expert 5K+
P: 6,596
Presumably, you'll be needing the Python Image Library installed.
Nov 23 '07 #2

P: 5
My problem is that I can't seem to figure out what code will make the Tkinter Canvas into PIL format. I definitely have PIL, as I've used it countless times.
Nov 23 '07 #3

P: 75
I myself use PIL for drawing shapes and then put the PIL image to Tkinter label =)
Nov 23 '07 #4

P: 5
But what if you want to be able to draw on the canvas?
I want to draw on it, then after, put it through functions that manipulate it using PIL..
Nov 23 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.