I've been searching over StackOverFlow and google for two days, still couldn't come to a solution. What I am trying to do is creating a PHP script that:
- Takes a PDF uploaded to my website
- Converts each page of the document into a separate image
- Displays converted images
Most users that made similar questions are addressed to use ImageMagick but my perfect solution would be a PHP library, do you know any?
For the first and the third point, they are lot of informations or tutorials on the web.
For the second point, you can use this composer package : https://github.com/spatie/pdf-to-image