I need to convert a PDF document to a preview image in my PHP app. What is the best library to use for this purpose?
Hello You can use ghostscript to convert PDF to Imgae format
If you do not want to use ghostscript, you can read this post:
http://stackoverflow.com/questions/8145868/convert-a-pdf-document-to-a-preview-image-in-php/convert-pdf-to-image
By the way, I think you can google more php solutions.
I think you can use the fpdf library.... http://www.fpdf.org/
I have ever tried to convert pdf to images with the help of another 3rd party toolkit. You can also google it and check its free trial package for users first. I hope you success. Good luck.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Hello
You can use ghostscript to convert PDF to Imgae format
If you do not want to use ghostscript, you can read this post:
http://stackoverflow.com/questions/8145868/convert-a-pdf-document-to-a-preview-image-in-php/convert-pdf-to-image
By the way, I think you can google more php solutions.
I think you can use the fpdf library.... http://www.fpdf.org/
I have ever tried to convert pdf to images with the help of another 3rd party toolkit. You can also google it and check its free trial package for users first. I hope you success. Good luck.