Questions tagged [poppler]

Poppler is a GPL'd PDF rendering library based on the xpdf-3.0 code base.

290 questions
0
votes
1 answer

Path Error when trying to convert multi-page PDF to individual .png files on MAC

I am trying to convert a multi-page .pdf file to several individual .png files. I am using pdf2Image to do this. I have installed poppler using brew install poppler. I am unsure how to find and explicitly write the path in the shell. This is my…
0
votes
2 answers

I am trying to use pdf2image but I am getting this error

Traceback (most recent call last): File "C:\Users\Balmeet\PycharmProjects\text&checkBox\venv\lib\site-packages\pdf2image\pdf2image.py", line 441, in pdfinfo_from_path proc = Popen(command, env=env, stdout=PIPE, stderr=PIPE) File…
0
votes
0 answers

Include poppler in exe file with pyinstaller

I tried to write a simple program for converting PDF files to JPG. The main idea is a simple .exe file that will find all PDF files in the same directory, and after converting them to JPG put them in the new folder. And I did it! Using pdf2image, my…
0
votes
1 answer

Error while importing pdftotext module in spyder

So, I have been trying to installing pdftotext module I tried a lot of methods, the only one that worked was by using miniconda for installing poppler and then pdftotext (the main problem with anaconda was that poppler was not getting installed).…
0
votes
1 answer

Failed when construct opencv cv::Mat using data of a gray image in poppler

When using poppler::image::format_gray8, it crashes due to memory access violation poppler::page * page = poppler_pdf_doc->create_page(page_index); poppler::page_renderer…
followait
  • 83
  • 9
0
votes
0 answers

Ghostscript identify and crop area ? Possible?

Server generates A student letter which includes two parts. one about information of student and admission details and other is the identity card. I want to crop out the identity card of student to jpeg file and print it. But the problem is the…
0
votes
1 answer

pip install pdftotext python without Anaconda

is there a way to pip install pdftotext without Anaconda? I´ve managed to open pdftotext with commandline. I´ve installed poppler and add it to path, I´ve also installed the code extentions C++ Visual Studio. but I still get error when I try to use…
The.B
  • 361
  • 2
  • 11
0
votes
1 answer

Extract sound annotations from a PDF

I have a script that lists the annotations of a PDF file Parse annotations from a pdf: import popplerqt5 import argparse def extract(fn): doc = popplerqt5.Poppler.Document.load(fn) annotations = [] for i in range(doc.numPages()): …
Shayan
  • 709
  • 1
  • 15
  • 31
0
votes
0 answers

Poppler pdftohtml.exe fails to load through IIS7

We are using poppler's pdftohtml exe to convert pdf to html. When we running it through flask then it working properly. But once we deploy on IIS then it is throwing below error at the time of using subprocess for pdftohtml.exe in event…
Pankaj Kumar
  • 209
  • 1
  • 4
  • 7
0
votes
1 answer

How to run python package pdf2image in Heroku: not working

I am trying to run python dash application in Heroku. Since I am using pdf2image package that also has a dependency with poppler, working fine in my dev environment but when I deploy the same in Heroku, my code is getting stuck at this point:…
Jayahe
  • 127
  • 8
0
votes
1 answer

Using Poppler (for pdf2image Python library) on Google's cloud functions

I am trying to deploy a cloud function for my python code that internally uses pdf2image, but it seems to keep crashing because it does not have Poppler installed. Are there any alternative libraries that have the pdf2image convert_from_bytes…
Ak-Mo
  • 389
  • 1
  • 4
  • 18
0
votes
1 answer

Exception in tkinter callback: failed with exit code 3221225781

Somehow I have fixed the previous error with error code 127 by adding poppler to my PATH environment variables, however now I am greeted by this new error. Does anyone have any clue what this could mean and how I can fix it. I am trying to run a…
Thomas Broek
  • 59
  • 2
  • 7
0
votes
1 answer

Calling single third-party function causes regsvr32 to fail, even as admin

I am running Visual Studio as an Admin, as you can see in this image here: My project creates a COM .dll that gets registered after the build. Ordinarily, everything gets built and registered properly: The other day I decided I'd like to use…
user13366655
0
votes
0 answers

Why are PDF forms so different in interoperability?

I recently had to use many different PDF documents with forms from my university. As a Linux user with a poppler-based PDF viewer, I could not edit some forms, and I could not even display others. There seem to be three different types of form…
0
votes
1 answer

How to include header files for external libraries in my source code?

I am trying to extract archived files in my project using Libarchive. On a standalone code, i include libarchive's archive.h using: #include But I have seen on projects that header files are not included directly, they use: #include…
Parth Kapadia
  • 507
  • 6
  • 18