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

pdftohtml not generating image tag in XML file #22

Closed
tonivss opened this issue Dec 12, 2020 · 1 comment
Closed

pdftohtml not generating image tag in XML file #22

tonivss opened this issue Dec 12, 2020 · 1 comment

Comments

@tonivss
Copy link

tonivss commented Dec 12, 2020

When generating a XML file via pdftohtml like
pdftohtml -c -hidden -xml input.pdf output.xml
there is no image tag in the XML file (also this command is only generating a XML file, PNGs will not be generated).
I have followed all the steps mentioned on your blog post but the code does not execute properly because at
imgflebasename = p['image'][:p['image'].rindex('.')]
no images are found and therefore there is no attribute rindex.

@internaut
Copy link
Member

pdftohtml is not part of pdftabextract. It's part of the poppler-utils package. I can't give support on that.

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