问题
I want to convert pdf files to jpg without use of imagemagick and ghostscript, if anyone have an idea please help me.
回答1:
Try using an online conversion service instead.
For example transloadit provides an API which can be used to extract images from PDF files (https://transloadit.com/docs/extracting-images-of-documents). They even provide ready development kits for PHP (https://transloadit.com/docs/development-kits#php-sdk).
Cloudinary could be an alternative as well.
If you instead what to work around the error with ghostscript open another question with detailes for that provided.
来源:https://stackoverflow.com/questions/17594002/is-there-any-way-to-convert-pdf-file-to-jpg-without-imagemagick-or-ghostscript