0

I had a question regarding handling .eps-files yesterday - you can find it here: With Python`s PIL, how to set DPI before loading an image?

I was loading an .eps-file and processed it which is working. Today I tried to update PIL (Pillow) to version 2.7.0 - after that reading the .eps-file isn`t possible anymore.

Error:

Traceback (most recent call last):
  File "img_pil.py", line 25, in <module>
    img = Image.open('epstest.eps')
  File "build/bdist.linux-x86_64/egg/PIL/Image.py", line 2274, in open

IOError: cannot identify image file 'epstest.eps'

Code:

img = Image.open('epstest.eps')

Is this a bug, or do I miss something?

Community
  • 1
  • 1
Rockbot
  • 935
  • 1
  • 6
  • 24

0 Answers0