Ninjakreborn Posted February 19, 2007 Share Posted February 19, 2007 Is there a way (using php), to allow someone to upload a PDF, then having it create an image of the pdf (I guess the first page of it, or the whole thing doesn't matter), and with that image, allowing it to be displayed on the site, or is this impossible? Quote Link to comment https://forums.phpfreaks.com/topic/39169-solved-pds-image-php/ Share on other sites More sharing options...
tom100 Posted February 19, 2007 Share Posted February 19, 2007 You would have to use PHP with Ghostscript and imagemagick. From there you would have to call convert or gs and convert the image to something else. The only problem is that when you convert them, the conversions between vector and raster will most likely completely destroy your image. Quote Link to comment https://forums.phpfreaks.com/topic/39169-solved-pds-image-php/#findComment-188635 Share on other sites More sharing options...
Ninjakreborn Posted February 19, 2007 Author Share Posted February 19, 2007 That'll work, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/39169-solved-pds-image-php/#findComment-188650 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.