[Image-SIG] about PIL...

Jacques Larmet maximus@peoplepc.fr
Fri, 17 Aug 2001 11:45:35 +0200


C'est un message de format MIME en plusieurs parties.

------=_NextPart_000_0009_01C12712.20EECCA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hello,

i've downloaded the python imaging library for win32, and i'd like to =
create a program to view and create pictures in various formats.
i read in a book, about the usage of PIL : "you have to add the =
following line : 'import Image, ImageTk', and modify the line 'img =3D =
PhotoImage(***)' into 'img =3D ImageTk.PhotoImage(***)'".
this doesn't seem to work : i still can't open JPeg, Bitmap  or PNG =
files. i just can see GIF and PPM files.
can you help me ?

thanks.

romain (sorry, i don't speak english very well, cause i'm not english !)

------=_NextPart_000_0009_01C12712.20EECCA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 =
size=3D2>hello,</FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 size=3D2>i've =
downloaded the python=20
imaging library for win32, and i'd like to create a program to view and =
create=20
pictures in various formats.</FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 size=3D2>i read in a =
book, about the=20
usage of PIL&nbsp;: "you have to add the following line : 'import Image, =

ImageTk', and modify the line 'img =3D PhotoImage(***)' into 'img =3D=20
ImageTk.PhotoImage(***)'".</FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 size=3D2>this doesn't =
seem to work :=20
i still can't open JPeg, Bitmap &nbsp;or PNG files. i just can see GIF =
and PPM=20
files.</FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 size=3D2>can you help =
me=20
?</FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 =
size=3D2>thanks.</FONT></DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Comic Sans MS" color=3D#ff0000 size=3D2>romain =
(sorry, i don't=20
speak english very well, cause i'm not english =
!)</FONT></DIV></BODY></HTML>

------=_NextPart_000_0009_01C12712.20EECCA0--