Generate a pdf thumbnail (open source/free)

Posted by AndrewB on Stack Overflow See other posts from Stack Overflow or by AndrewB
Published on 2009-10-20T02:08:37Z Indexed on 2011/01/15 18:54 UTC
Read the original article Hit count: 165

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET