PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Apr 20, 2014 8:40 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Rasterize a page
PostPosted: Fri Jan 02, 2009 12:19 pm 
Offline

Joined: Fri Jan 02, 2009 12:12 pm
Posts: 4
Hi,

Is there a way to Rasterize pdf into lets say a GIF format. Each page will be saved as a GIF file with a specified dpi resolution. Please let me know if this is possible with PDFSharp.

Thanks,

Sai Alluru.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 08, 2009 10:20 am 
Offline
empira Employee
User avatar

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

PDFsharp can't do that (currently).

But GhostScript can do it. You can call GhostScript from your code. IIRC PDFsharp includes a sample how to do exactly this (to get thumbnails for pages).

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 07, 2009 3:10 pm 
Offline

Joined: Mon Apr 06, 2009 12:35 pm
Posts: 4
Please, Where can I find the example of IIRC?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 09, 2009 1:34 pm 
Offline
User avatar

Joined: Tue Oct 14, 2008 6:15 pm
Posts: 31
Location: USA
Thomas Hoevel wrote:
Hi!

PDFsharp can't do that (currently).

But GhostScript can do it. You can call GhostScript from your code. IIRC PDFsharp includes a sample how to do exactly this (to get thumbnails for pages).


Hi Thomas,

I realize that PdfSharp can't (currently) generate images from pdfs, do you guys have plans for implementing this? If so, do you have a time frame?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 15, 2009 10:26 am 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2028
Location: Cologne, Germany
Soldier-B wrote:
Thomas Hoevel wrote:
Hi!

PDFsharp can't do that (currently).

But GhostScript can do it. You can call GhostScript from your code. IIRC PDFsharp includes a sample how to do exactly this (to get thumbnails for pages).


Hi Thomas,

I realize that PdfSharp can't (currently) generate images from pdfs, do you guys have plans for implementing this? If so, do you have a time frame?


That's a big task. I bet we won't do it. Others have done it.

Have you tried Ghostscript?
See
viewtopic.php?p=1683&mforum=pdfsharp#1683

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 5 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:  
Powered by phpBB® Forum Software © phpBB Group