Questions tagged [poppler-utils]
15 questions
5
votes
2 answers
How to config Font substitution in poppler
When convert pdf page to image, if a Font is not embedded in the input pdf, default Font substitution (usually Arial) is used. However, I want to change the default font.
There is a description here but it is too few information. I don't know how to…

yuma4012
- 61
- 2
3
votes
1 answer
Install poppler in AWS base python image for Lambda
I am trying to deploy my docker container on AWS Lambda. However, I use pdf2image package in my code which depends on poppler. To install poppler, I need to insert the following line in the Dockerfile.
RUN apt-get install -y poppler-utils
This is…

Apezzz
- 95
- 2
- 8
2
votes
2 answers
Why does pdftoppm poppler-utils have no jpeg option?
On Ubuntu 10.04, I've installed the poppler-utils package to be able to run pdftoppm.
My goal is to convert PDFs to jpegs, however I don't have that option/flag available. The only rasterizer I seem to have is PNG support.
Could someone please…

seb835
- 467
- 1
- 5
- 19
1
vote
2 answers
Poppler Installation on Google Colab
I am trying to convert pdf to image using pdf2image module on Google Colab.
I have downloaded the latest version of poppler and also installed poppler-utils.
In convert_from_path() , I mentioned the correct path to poppler's bin directory, still I'm…

Harsh Dwivedi
- 19
- 2
1
vote
0 answers
Why is pdftocairo not getting installed when installing poppler?
I am using the following command in the dockerfile to install poppler
RUN wget --directory-prefix=~ poppler.freedesktop.org/poppler-22.04.0.tar.xz -O /tmp/poppler-22.04.0.tar.xz && apt-get install xz-utils && tar xf /tmp/poppler-22.04.0.tar.xz -C…

abhinav kumar
- 153
- 1
- 9
1
vote
3 answers
How to compile ready to deploy latest version of `poppler-utils` for Amazon Linux
I have a server running on AWS Linux. The application uses poppler-utils.
The server is CI integrated. So all the necessary dependencies are installed before the application is deployed. One of the dependencies is poppler-utils.
Till now I had been…

silent_grave
- 628
- 1
- 7
- 20
1
vote
1 answer
heroku poppler buildpack error "libpng12.so.0: cannot open shared object file: No such file or directory"
I am trying to use the pdf2image library, specifically the convert_from_bytes method to convert a pdf to a txt file using pytesseract. My app runs locally, but I want to deploy the app to heroku. I have tried adding python-poppler to my pipfile, but…

noahn
- 31
- 5
1
vote
1 answer
AZURE FUNCTIONS: PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH? for pdf2image
I am getting this error "Result: Failure Exception: PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH? for azure functions."
I am using pdf2image library's convert_from_path() to process my pdf to image. This works…

Hema Jayachandran
- 86
- 6
0
votes
0 answers
PDF conversion with poppler-utils: Is there a way to avoid decoding difficulties?
I am converting pdf to text using poppler-utils and the pdftotext-function on Ubuntu. Unfortunately I keep running into a problem where some files are not converted decently.
A correctly converted file looks like this:
82 => '23:00 23:00 - 05:00…

lowflyer7
- 3
- 1
0
votes
0 answers
How to resolve the poppler issue on Mac M1 chip?
Unable to import poppler in any environment (python):
>>> import poppler
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'poppler'
Commands ran before this:
brew install cmake
brew…

ria monga
- 1
- 3
0
votes
0 answers
Running pdftotext from poppler-utils in a docker container on a URL
I have a Node.js app that requires the use of pdftotext from poppler-utils to do some PDF parsing when a file is uploaded and stored at a remote location. The command being run is:
pdftotext -layout https://example.com/myfile.pdf -
to get the text…

laycalva
- 11
- 1
0
votes
0 answers
pdftops to covert PDF to EPS in basic mode?
I'm using pdftops in a script to convert PDF to EPS. However looks that is not the "basic" EPS format, and I can't open it with Photopea, I'm getting this error:
The command that I'm executing is this one:
pdftops -eps -level2sep file.pdf…

Aral Roca
- 5,442
- 8
- 47
- 78
0
votes
0 answers
pdftoppm output always empty
I use this library pdftoppm that I installed in CentOS 7 from official repository:
sudo yum install poppler-utils
If I run the software to convert PDF file pages to images, all works well. My issue is to try to cover a case when the conversion…

Dev Dev
- 314
- 4
- 17
0
votes
1 answer
How to update dockerfile to update version of popper-utils' pdftotext?
I currently have a project I'm working on where the version of pdftotext from poppler-utils is using the "testing" version (found here https://manpages.debian.org/testing/poppler-utils/pdftotext.1.en.html). Instead, I want to use the version…

JoshG
- 31
- 4
0
votes
0 answers
Pdf2image library of Python throws "No font in show/space" error
For a few pdfs the pdf2image library throws this error. I have set strict=True in the convert_from_path method and hence I am getting these syntax errors
I think it means that my system doesn't have the required fonts but is there any other way to…

Jay
- 1
- 1