Search found 2 matches

by rcasae
2018-07-23T11:37:09-07:00
Forum: Bugs
Topic: UnicodeDecodeError when using PythonMagick 0.9.13 and Python 3.6
Replies: 1
Views: 4357

Re: UnicodeDecodeError when using PythonMagick 0.9.13 and Python 3.6

UPDATE - I was actually able to find a 'solution' to this issue. try: pdf_blob_data = pdf_blob.data except UnicodeDecodeError as e: pdf_blob_data = e.object pdf_pages.append(io.BytesIO(pdf_blob_data))
by rcasae
2018-07-23T08:40:55-07:00
Forum: Bugs
Topic: UnicodeDecodeError when using PythonMagick 0.9.13 and Python 3.6
Replies: 1
Views: 4357

UnicodeDecodeError when using PythonMagick 0.9.13 and Python 3.6

Hello, I have some imaging code that converts TIF files into PDFs. It was originally coded in Python 2.7 using PythonMagick, and it worked great. But now, trying to port it to Python 3.6 I'm running into issues. The issue involved the PythonMagick Blob datatype. I have a blob that I am writing image...