Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it just hang on win10 #19

Open
SeekPoint opened this issue Feb 17, 2020 · 2 comments
Open

it just hang on win10 #19

SeekPoint opened this issue Feb 17, 2020 · 2 comments

Comments

@SeekPoint
Copy link

No description provided.

@lebedov
Copy link
Owner

lebedov commented Feb 18, 2020

Can you provide more information? What version of python-pdfbox, Python, etc. are you using? How are you invoking python-pdfbox?

@SeekPoint
Copy link
Author

after run 'pip install python-pdfbox' on win10,

then:

import pdfbox
p = pdfbox.PDFBox()
p.extract_text('/path/to/my_file.pdf') # writes text to /path/to/my_file.txt
p.pdf_to_images('/path/to/my_file.pdf') # writes images to /path/to/my_file1.jpg, /path/to/my_file2.jpg, etc.
p.extract_images('/path/to/my_file.pdf') # writes images to /path/to/my_file-1.png, /path/to/my_file-2.png, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants