PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Apr 23, 2024 11:03 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon May 12, 2008 9:22 pm 
Offline

Joined: Mon May 12, 2008 9:07 pm
Posts: 2
Hello all,

I am new to this tool, and had a quick question. I am working on a project now where I want to take a PDF, split it into 1 page documents, then generate thumbnails of each page. After that the user will have the option to combine the pages as they see fit.

I saw the code examples of splitting documents and combining documents, what I am wondering is, within the libraries of pdf sharp is there any way I could generate a thumbnail of the page? I would like to either be able to somehow generate the thumbnail on the fly (with no permanent file) or to generate it once (as say a jpg) and the load it into my SQL DB and store is as a binary ( for later display).

I hope that makes sense.

Thanks,

Chris.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 13, 2008 8:22 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Hi!

PDFsharp can't do that, but you can create thumbnails with the Ghostscript API.
Look at the Ghostscript.Demo for an example of calling Ghostscript.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue May 13, 2008 4:18 pm 
Offline

Joined: Mon May 12, 2008 9:07 pm
Posts: 2
Sounds good, will check it out. In advance, you know if there are any code examples in GhostScript of creating thumbnails?

Thanks for the reply,

Chris.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 203 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group