• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

Create an Image from a pdf upload

I have a web form that allows for uploading of a pdf file.   Is there a way to create an image based on the first page of the pdf file?  
0
deloused
Asked:
deloused
  • 2
  • 2
1 Solution
 
Karl Heinz KremerCommented:
There are a number of products that allow you to render PDF. If you want to do it for free, take a look at Ghostscript (http://www.ghostscript.com). One other option is the XPdfRasterizer (http://www.glyphandcog.com/XpdfRasterizer.html). You can find more commercial packages at the PDFStore (http://www.pdfstore.com)
0
 
delousedAuthor Commented:
Does Ghostcript run within a .net applicationtion?  I'm having trouble navigating their site.  I'd prefer to get some code or an opensource solution.
0
 
Karl Heinz KremerCommented:
Ghostscript is opensource, you can download the source code from here: http://ghostscript.com/releases/ - just pick the latest release.

It is a standalone application, so you would have to make a call to an external program in your .NET app to start GS. When you buy xpdfrasterizer, you get a Windows DLL - so you can call it directly from within your application.
0
 
delousedAuthor Commented:
I found something from PDF Store after much digging.  Thanks for your help!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now