views:

327

answers:

2

Looking at other posts for this could not find an adequate solution that for my needs. Trying to just get the first page of a pdf document as a thumbnail. This is to be run as a server application so would not want to write out a pdf document to file to then call a third application that reads the pdf to generate the image on disk.

doc = new PDFdocument("some.pdf");
page = doc.page(1);
Image image = page.image;

Thanks.

+1  A: 

See that list: http://www.aspnetworld.com/articles/2004011801.aspx

Hope any of these can read .pdf.

Vasiliy Borovyak
+1  A: 

Have you looked at ISharp or wrappers for Ghostscript or ImageMagick?

mark stephens