Solved

Create an Image from a pdf upload

Posted on 2008-10-02
4
229 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s take a look at how to do that wit…
Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe A recent question here at Experts Exchange piqued my interest, so I decided to provide a thorough solution and publ…
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

919 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