Comments (14)
Interesting, I'll see if I can add a test to detect that.
from pdf2image.
Are you using Python 2 or Python 3?
from pdf2image.
Are you using Python 2 or Python 3?
Python 3.5
from pdf2image.
Hmm then I don't really know, pdftoppm/pdftocairo don't have encoding options so it's probably the system configuration that is problematic.
Do you have a pdf I could convert on my side to reproduce the issue?
from pdf2image.
Hmm then I don't really know, pdftoppm/pdftocairo don't have encoding options so it's probably the system configuration that is problematic.
Do you have a pdf I could convert on my side to reproduce the issue?
That's my test pdf.
from pdf2image.
This is what I get when I convert your document on my computer. Is this the expected behavior?
If not, what is wrong with the following image?
from pdf2image.
This is what I get when I convert your document on my computer. Is this the expected behavior?
If not, what is wrong with the following image?
Yes! That's my expect, but i got image which use the demo code like this:
from pdf2image.
What is your operating system?
I am pretty sure that the problem is not pdf2image.
from pdf2image.
Operation system is Windows 10, and my code is just like this:
images = convert_from_path('D:/Code/Demo/PyDemo/sample1.pdf')
c = 1
for image in images:
image.save('D:/Code/Demo/PyDemo/out/out' + str(c) + '.jpg', 'JPEG')
c = c + 1
from pdf2image.
@Belval Thanks for your time. I got the same issue as ferdinandhuang mentioned above, the image is there but the chars especially the Chinese chars are all missing. Would it be possible to share your findings? Much appreciated.
from pdf2image.
That's the thing, I did nothing. I don't have any rendering problem on both my Ubuntu 18.04 and archlinux machines when converting this PDF using pdf2image...
Does it show correctly when you open it in a browser?
from pdf2image.
Thanks for you reply.
I tried in Ubuntu, it work correct as I expect. So I think maybe this problem is poppler for Windows's problem.
At last, thank you again.
from pdf2image.
Closing as this is probably not a pdf2image
issue. Feel free to reopen if you gather additional information.
from pdf2image.
@Belval I had the same Issue in ubuntu docker. (table and image is saved but the text is not saved)
I solved this by apt-get install poppler-data
. I think this occurs when poppler doesn't font.
from pdf2image.
Related Issues (20)
- PDFPageCountError: Unable to get page count. I/O Error: Couldn't open file 'C:\Users\cdragomir2\Desktop\dataiku\Non Phub Samples\New folder (3)\007-084841-1 to 31 Dec'22': No error. HOT 5
- pdf2image poppler error in Linux HOT 1
- convert_from_bytes has wrong argument name or docstring
- Missing characters like "Ε Δ ΔΎ δ»" when converting a fillable pdf form to image HOT 6
- Missing py.typed file HOT 4
- Wrong image converted HOT 2
- No source release on pypi for 1.16.3 HOT 1
- Inconsistent results between servers with the same code and PDF file HOT 2
- Problem converting from Image coordinates to PDF coordinates
- Invalid SOS parameters for sequential JPEG
- Adding conda poppler to PATH HOT 1
- Lossless conversion HOT 3
- weird CMYK and text at top of output image
- Missing optional arguments in pdfinfo_from_bytes and pdfinfo_from_path HOT 2
- `Page rot` metadata and `size` param interact incorrectly in convert_from_path() HOT 5
- When a pdf is converted to a picture, it takes up a very small part of the picture
- Add an option to start counter generator at index 0 HOT 1
- FileNotFoundError with poppler_path HOT 1
- Is there way to control rotation?
- Some missing words from converting PDF to Image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf2image.