<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18828">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>Hi.. I also asked this question on the imaging
group but thought people here might have insights as well..</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>all of the following code executes interactively
except the last line. Converting a .jpg file to .png works fine. I'm using the
PIL version for Python 2.6. Any suggestions will be greatly appreciated. Thanks,
Lance</FONT></DIV>
<DIV><FONT size=2 face=Arial>------------------------------------</FONT></DIV>
<DIV><FONT size=2 face=Arial>PythonWin 2.6.3 (r263:75183, Oct 5 2009,
14:41:55) [MSC v.1500 32 bit (Intel)] on win32.<BR>Portions Copyright 1994-2008
Mark Hammond - see 'Help/About PythonWin' for further copyright
information.<BR>>>> import os<BR>>>> import
zlib<BR>>>> import Image<BR>>>>
os.chdir("c:\\foo")<BR>>>> img = Image.open("foo1.eps")<BR>>>>
img.save("foo1.png")<BR>Traceback (most recent call last):<BR> File
"<interactive input>", line 1, in <module><BR> File
"C:\Python26\lib\site-packages\PIL\Image.py", line 1372, in
save<BR> self.load()<BR> File
"C:\Python26\lib\site-packages\PIL\EpsImagePlugin.py", line 283, in
load<BR> self.im = Ghostscript(self.tile, self.size,
self.fp)<BR> File "C:\Python26\lib\site-packages\PIL\EpsImagePlugin.py",
line 72, in Ghostscript<BR> gs.write(s)<BR>IOError: [Errno 32]
Broken pipe</FONT></DIV></FONT></DIV></BODY></HTML>