[Tutor] Python Imaging Library

Henry Steigerwaldt hsteiger@comcast.net
Wed, 28 Aug 2002 00:23:25 -0500


This is a multi-part message in MIME format.

--Boundary_(ID_xoIF8LHXjvZWNg0UWPkfIg)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

To All:

I downloaded the PIL version 1.1.3 that can be used with 
Python version 2.2. I do have three questions however.

1)   When I extract the files, in which directory should I extract
     them to?

2)  Once that is done, how do I tie them into the Python 2.2
     program, so that when I use import Image, etc. within a Python
     program to bring in the PIL library routines, Python will know 
     where the PIL library is located?

3)  Also, am I correct in saying that if I want to open a graphic
     file and plot it on a canvas, I must use PIL? Or would I have
     been able to do that with what already comes with the Python
     2.2 download? 

Thanks much!

Henry Steigerwaldt
Hermitage, TN


--Boundary_(ID_xoIF8LHXjvZWNg0UWPkfIg)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>To All:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I&nbsp;downloaded the PIL version 1.1.3 that can be 
used with </FONT></DIV>
<DIV><FONT face=Arial size=2>Python version 2.2. I do have three&nbsp;questions 
however.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>1)&nbsp;&nbsp;&nbsp;When I extract the files, in 
which </FONT><FONT face=Arial size=2>directory should I extract</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; them to?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>2)&nbsp; Once that is done, how do I tie them into 
the Python 2.2</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; program, so that when I 
use import Image, etc. within a Python</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; program to bring in the 
PIL library routines,&nbsp;Python will&nbsp;</FONT><FONT face=Arial size=2>know 
</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; where the PIL library is 
located?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>3)&nbsp; Also,&nbsp;am I correct in saying that if 
I want to open a graphic</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp; file and plot it on a 
canvas, I must use PIL? Or would I have</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT 
face=Arial size=2>been able to do that&nbsp;</FONT><FONT face=Arial size=2>with 
what already comes with the Python</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;2.2 
download?</FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks much!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Henry Steigerwaldt</FONT></DIV>
<DIV><FONT face=Arial size=2>Hermitage, TN</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

--Boundary_(ID_xoIF8LHXjvZWNg0UWPkfIg)--