471,354 Members | 2,077 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

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

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
4 1511
6,596 Expert 4TB
Presumably, you'll be needing the Python Image Library installed.
Nov 23 '07 #2
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
I myself use PIL for drawing shapes and then put the PIL image to Tkinter label =)
Nov 23 '07 #4
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.

Similar topics

2 posts views Thread by mksql | last post: by
4 posts views Thread by pavel.kosina | last post: by
5 posts views Thread by annagel | last post: by
3 posts views Thread by Tuvas | last post: by
1 post views Thread by nish88 | last post: by
4 posts views Thread by skanemupp | last post: by
7 posts views Thread by Peter Pearson | last post: by
3 posts views Thread by joshdw4 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.