[Tutor] Images on Python 3k

2010-01-16 Thread Luhmann
Hello List,

Does anyone know of a way simple way to display JPG and PNG images on python 3?

My program uses tkinter, and currently my solution is to use ImageMagick's 
convert through std to convert the images to gif. However the conversion is too 
time consuming.

I have only started using python after Py3 was released, so this is is the only 
version I know. I have tried to make my code work in Python 2 so I could use 
PIL, but I
came across many bugs to which I could not readily find a solution, and it 
seems it would take me a long time to get it fixed.



  Découvrez les photos les plus intéressantes du jour.
http://www.flickr.com/explore/interesting/7days/___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Images on Python 3k

2010-01-16 Thread Alan Gauld


Luhmann luhmann...@yahoo.com wrote

I have only started using python after Py3 was released, so this is is 
the only version I know. I have tried to make my code work in 
Python 2 so I could use PIL, 


This is one of the biggest barriers to adopting Python 3. Until PIL 
gets ported it's a non starter for many folks.


And why Tk doesn't support formats other than GIF and PPM for 
its PhotoImage widget is a long standing mystery! Thee has been 
much talk of supporting JPG but nothing has ever materialised.


Alan G.


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor