[Pythonmac-SIG] EPS to JPEG with PIL

Bob Ippolito bob at redivi.com
Tue Apr 26 22:37:40 CEST 2005


On Apr 26, 2005, at 3:55 PM, Bill MacKenzie wrote:

> I need to convert EPS files to JPEG files. So far, all I get is 
> failure notices.
>
> The first question is will PIL do this trick?

Not without Ghostscript installed.  You might want to look to the 
CoreGraphics wrapper that comes with Apple's distribution of Python, or 
to PyObjC's NSImage, NSBitmapImageRep, etc.  Apple's stuff is (orders 
of magnitude) faster and produces better output anyway.

You might want to look at Zac's Thumbscrew app for some example source 
in this arena: http://www.urbanape.com/software

-bob



More information about the Pythonmac-SIG mailing list