Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: Problem with Tkinter.PhotoImage
Kevin Walzer
1/10/2008 3:42:00 PM
Cédric Lucantis wrote:
> Hi,
>
> I can only load gif images with Tkinter.PhotoImage and none with BitmapImage.
> I tried png, jpg, bmp and xpm and always got this errors :
>
That's because Tk only supports the gif format natively. You need to
install an additional photo library to support additional images (Tk has
an Img extension, and Python Image Library is also very good).
--
Kevin Walzer
Code by Kevin
http://www.codeb...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Problem with Tkinter.PhotoImage
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password