question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Opening a PDF/A document

See original GitHub issue

I need to extract some images from a set of PDF/A files.

I am using pdf2image.convert_from_path method, it runs without any warning/error, but when opening the instanced object, with PIL.Image.show(), it returns just a black image, for all pages.

Desktop (please complete the following information):

  • macOS Catalina
  • Miniconda 3 with conda-forge packaging as main source
  • PyCharm

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
thomassajotcommented, Mar 17, 2022

This is issue is still relevant. I am having it on MacOS.

2reactions
Belvalcommented, Dec 6, 2019

convert_from_bytes is just convert_from_path with an extra step, that means that the conda-forge package could be broken.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Opening PDFs, Adobe Acrobat
Choose File > Open. In the Open dialog box, select one or more filenames, and click Open. PDF documents usually have the extension...
Read more >
How to Open PDF Files: Android, iOS, Windows 10, and Mac
1. Download an app that supports PDF files. While Android does not have "built-in" support for reading PDF files, there are a large...
Read more >
How to Change Settings to Open a PDF File
Once you've decided on a native or alternative PDF reader to open your file and changed your Windows settings, locate the PDF file...
Read more >
Opening PDFs in Word - Microsoft Support
To open a PDF file without converting it to a Word document, open the file directly wherever it's stored (for example, double-click the...
Read more >
View PDF Files - FREE Online PDF Reader & Viewer - DocFly
Many people use a PDF file reader such as Adobe to open PDF files online and view them. However, DocFly's PDF file opener...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found