Solved

PHP or Linux script to convert from PDF to .gif, .png, .tiff or .jpg format file

Posted on 2008-06-25
3
2,711 Views
Last Modified: 2010-04-21
I understand that PHP GD library does not support convesion from a PDF file to a raster format.

Does anyone have a suggestion for a PHP script or Linux script (callable from PHP) that can do this conversion?

thanks
0
Comment
Question by:willsherwood
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 48

Accepted Solution

by:
hernst42 earned 250 total points
ID: 21870164
0
 
LVL 9

Assisted Solution

by:tkalchev
tkalchev earned 250 total points
ID: 21873215
Or much more easier if you have shell access (ImageMagick too):

shell_exec ( "convert file.pdf file.gif" );
shell_exec ( "convert file.pdf file.png" );
shell_exec ( "convert file.pdf file.tif" );
shell_exec ( "convert file.pdf file.jpg" );
0
 

Author Closing Comment

by:willsherwood
ID: 31470694
thanks all!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question