Re: JPEGs

Michael Lange <[email protected]>
Newsgroups gmane.comp.python.tkinter
Message-ID <[email protected]>
Hi,

On Mon, 16 Nov 2015 11:50:44 -0700
Robert Greschke <[email protected]> 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


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

	"The combination of a number of things to make existence
worthwhile." "Yes, the philosophy of 'none,' meaning 'all.'"
		-- Spock and Lincoln, "The Savage Curtain", stardate
5906.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.