1

I know solutions exist to get HTML / CSS to PDF, but is there one that works the opposite way?

I want to be able to automatically take uploaded PDFs, and turn them into HTML / CSS to be displayed on a website between a header and footer etc.

Thanks

1 Answer 1

3

There is a command line tool, pdf2html, which you could use exec() or system() in PHP to execute. Not sure it that will be ok for you?

Sign up to request clarification or add additional context in comments.

2 Comments

This looks interesting... Thanks!
It is based on xPDF - foolabs.com/xpdf so I dont know if there are docs there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.