Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Opening Photoshop EPS with PIL?
- From: oliver at obeattie.com (oliver at obeattie.com)
- Subject: Opening Photoshop EPS with PIL?
- Date: 31 Mar 2007 07:12:24 -0700
Hey Everyone,
I am trying to get PIL to open some EPS files I have (Photoshop EPS,
whatever the difference is). I'm trying to use PIL to do this, but
when I run it, the following happens:
>>> from PIL import Image, ImageOps
>>> Image.open('/flora.eps')
Traceback (most recent call last):
File "<console>", line 1, in ?
File "/opt/local/lib/python2.4/site-packages/PIL/Image.py", line
1741, in open
return factory(fp, filename)
File "/opt/local/lib/python2.4/site-packages/PIL/ImageFile.py", line
82, in __init__
self._open()
File "/opt/local/lib/python2.4/site-packages/PIL/EpsImagePlugin.py",
line 206, in _open
raise IOError, "bad EPS header"
I've never had any real trouble with PIL before (never used it for EPS
though). Can anyone offer any advice on this one? I'd be most
grateful.
Many Thanks Everyone,
Oliver Beattie
- Prev by Date: Indentation for code readability
- Next by Date: Shed Skin Python-to-C++ Compiler 0.0.21, Help needed
- Previous by thread: Need help with python and pyxml on AIX
- Next by thread: saving Python process state for later debugging
- Index(es):