Re: [Tutor] cannot convert eps to png using PIL

2009-10-17 Thread Kent Johnson
On Fri, Oct 16, 2009 at 12:23 AM, LL wrote: > Hi.. I also asked this question on the imaging group but thought people here > might have insights as well.. > > all of the following code executes interactively except the last line. > Converting a .jpg file to .png works fine. I'm using the PIL versi

Re: [Tutor] cannot convert eps to png using PIL (LL)

2009-10-17 Thread Chris Fuller
Like I said, you need to find out what's going wrong with GhostScript. Also, converting image formats is something PIL does internally, without requiring a (large) external package like GhostScript, which is an interpreter for a different language (PostScript), which your eps files are coded i

Re: [Tutor] cannot convert eps to png using PIL (LL)

2009-10-16 Thread LL
> It's trying to launch GhostScript, and failing. Not sure this is the problem. Ghostscript is installed on my machine. Also, I am able to convert .jpg to .png.___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http:/

Re: [Tutor] cannot convert eps to png using PIL

2009-10-15 Thread Chris Fuller
It's trying to launch GhostScript, and failing. The broken pipe is a clue that its trying to communicate with external software. Most likely, you don't have ghostscript installed. Google Ghostscript and you should find instructions for installing on windows (I'm fairly sure there is a port).

[Tutor] cannot convert eps to png using PIL

2009-10-15 Thread LL
Hi.. I also asked this question on the imaging group but thought people here might have insights as well.. 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