Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDFNotImplementedError: Colorspace 'PDFObjRef:100>' is not supported #23

Open
prabhatmishra33 opened this issue Jan 14, 2019 · 2 comments

Comments

@prabhatmishra33
Copy link

prabhatmishra33 commented Jan 14, 2019

There are 2 images in the pdf which i am trying to read,
1st is the logo.
2nd is the handwritten Sign.

The library is able to read the logo and convert to image using pillow.
but the issue comes when it tries to read the handwritten sign ,it spits out below error:

im = page.images[1].as_pil()
Traceback (most recent call last):

  File "<ipython-input-77-93f421217555>", line 1, in <module>
    im = page.images[1].as_pil()

  File "C:\Program Files\Anaconda3\lib\site-packages\minecart\content.py", line 363, in as_pil
    "Colorspace %r is not supported" % colorspace)

PDFNotImplementedError: Colorspace 'PDFObjRef:100>' is not supported

python version used : Python 3.5.2 :: Anaconda 4.2.0 (64-bit)

Thanks,
Prabhat

@mujeeb-merwat
Copy link

Prabhat I also face the same problem. Are you solved the error.?

@vgopinath
Copy link

Look at this issue for a fix:
#16

This is an excellent library (just finding out)… Please continue develop, when I have some time, will contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants