Reputation: 674
For one of my web application in need to generate images of all pages of pdf, I have try all possible solutions like ImageMagick, GhostScript etc. But those are not working for me. Some server are not allowing GS and have similar problem with ImageMagick, Currently i am using some js which convert pdf pages to image data and then app send that data to server for creating image. This is temporary solution for me. Is there any package which just render pdf and create images of all pages without using GS And ImageMagick.
I don't want any package to install on server for this, I just everything for it is integrated in my app and when other install that app, they didn't get any notification for dependency, Final product must be one click install.
Upvotes: 2
Views: 1091
Reputation: 881
transloadit provides an API which can be used to extract images from PDF files (https://transloadit.com/docs/extracting-images-of-documents).
Development kits for PHP (https://transloadit.com/docs/development-kits#php-sdk).
Upvotes: 1