[Tutor] Displaying picture and Text & Downloads

Patty patty at cruzio.com
Fri Nov 5 21:30:51 CET 2010


I just realized I did the same thing - must have hit reply to one instead of 
reply to all :}

I had a followup question for you all - and would like to know the answer to 
Alan's question about print quality - below -

Patty

----- Original Message ----- 
From: "Patty" <patty at cruzio.com>
To: "Alan Gauld" <alan.gauld at btinternet.com>
Sent: Thursday, November 04, 2010 11:14 AM
Subject: Re: [Tutor] Displaying picture and Text


> Yes, I would like to know this, I want this function to be really modular 
> and I thought of something else.  If my solution turns out to be using 
> Tkinter functions only then wouldn't that mean I downloaded and am 
> 'import'ing the Image library for nothing?
>
> This might mean the second addon library I download the source and 
> documentation for.  So how are people keeping their customized system 
> organized?  I could come up with all sorts of scenarios of losing track of 
> libraries, having too many you never use, and doc you never use, etc.
>
> Patty
>
> ----- Original Message ----- 
> From: "Alan Gauld" <alan.gauld at btinternet.com>
> To: <tutor at python.org>
> Sent: Thursday, November 04, 2010 10:39 AM
> Subject: Re: [Tutor] Displaying picture and Text
>
>
>>
>> "Alan Gauld" <alan.gauld at btinternet.com> wrote
>>>> fhdl = Image.open("C:\Users\StarShip\PyProgs\\bbsparkle.gif")
>>>> fhdl.show()
>>
>>> The Tkinter PhotoImage object can display jpg. I can't recall if
>>> it does gifs.
>>
>> Sorry I got that wrong, it can display gifs but not jpgs (despite the 
>> fact that jpgs are used more often for photos than gifs!) So you will 
>> need to convert the jpg to a gif - which might lose a lot of quality!
>>
>> Anyone know of a way to get decent quality in a Tkinter image?
>> Is there any support in PIL itself?
>>
>> Alan G.
>>
>>
>> _______________________________________________
>> Tutor maillist  -  Tutor at python.org
>> To unsubscribe or change subscription options:
>> http://mail.python.org/mailman/listinfo/tutor
>>
>>
> 



More information about the Tutor mailing list