Solved

Create an Image from a pdf upload

Posted on 2008-10-02
4
234 Views
Last Modified: 2012-05-05
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
Comment
Question by:deloused
  • 2
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 22630357
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
 

Author Comment

by:deloused
ID: 22630963
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
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 22632838
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
 

Author Closing Comment

by:deloused
ID: 31502601
I found something from PDF Store after much digging.  Thanks for your help!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

The ability to edit PDF documents can be useful, however it may not be a straight forward process. Many non-technical people don't realise that a PDF document is basically an image rather than a text file, even if it contains nothing but text. If…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now