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?  
delousedAsked:
Who is Participating?
 
Karl Heinz KremerConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.