[Image-SIG] Problems with ghostscript

Charlie Clark charlie.clark at clark-consulting.eu
Wed May 18 20:45:08 CEST 2011


Am 18.05.2011, 12:26 Uhr, schrieb Johannes Radinger <JRadinger at gmx.at>:

> Traceback (most recent call last):
>   File "/Users/Johannes Radinger/Desktop/Python Scripts/test.py", line  
> 10, in <module>
>     ps.image(box, im, 75)
>   File  
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL/PSDraw.py",  
> line 105, in image
>     EpsImagePlugin._save(im, self.fp, None, 0)
>   File  
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL/EpsImagePlugin.py",  
> line 296, in _save
>     im.load()
>   File  
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL/EpsImagePlugin.py",  
> line 283, in load
>     self.im = Ghostscript(self.tile, self.size, self.fp)
>   File  
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PIL/EpsImagePlugin.py",  
> line 75, in Ghostscript
>     raise IOError("gs failed (status %d)" % status)
> IOError: gs failed (status 32512)
> What causes the problem??

Hi Johannes,

have you got Ghostscript installed on your system? It looks like you are  
getting an error because PIL can't find it.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226


More information about the Image-SIG mailing list