[Tkinter-discuss] JPEGs

Robert Greschke bob at passcal.nmt.edu
Mon Nov 16 17:18:37 EST 2015


Oops. Didn't hit the Reply All.

> On 2015-11-16, at 12:39, Robert Greschke <bob at passcal.nmt.edu> wrote:
> 
> 
>> On 2015-11-16, at 12:14, Michael Lange <klappnase at web.de> wrote:
>> 
>> Hi,
>> 
>> On Mon, 16 Nov 2015 11:50:44 -0700
>> Robert Greschke <bob at passcal.nmt.edu> wrote:
>> 
>>> Why can't I go
>>> 
>>> Pic = PhotoImage(file = "./lp.jpg")
>>> 
>>> ?
>>> 
>>> Are JPEGs not popular enough yet, or am I missing something? This is
>>> one of the craziest restrictions to Tkinter I can think of. I wish I
>>> knew how to fix it, but I just ain't smart enough.
>>> 
>>> No, I don't want to use PIL. I'd like to make imbedded help that is
>>> just simple text-picture-text-picture, instead of just text. Yes, the
>>> pictures could be PNGs, but, again, are JPEGs just not popular enough,
>>> or is it a licensing thing of some sort?
>> 
>> reading https://en.wikipedia.org/wiki/JPEG#Patent_issues I figure that
>> it might be the latter.
>> If you don't want to use PIL, maybe tkimg is an option for you? If not I
>> am afraid you will have to stick with PNGs or GIFs.
>> 
>> Best regards
>> 
>> Michael
>> 
> 
> Yup, looks like it. (Cool article.) I guess Dick the Butcher had the right idea. :)
> 
> I can do PNGs for the help pictures, but I guess I'll just have to suck it up and use PIL for my extracurricular project -- extracting artwork from music and video files and making thumbnails. Darn it. 
> 
> How come PIL can get away with it?
> 
> Thanks!
> Bob
> 
> 



More information about the Tkinter-discuss mailing list