Loading...

Rendering from pdf and saving as png

Discussions about image processing in GdPicture.NET using GdPictureImaging.

Rendering from pdf and saving as png

Postby bjcam » Tue Jul 12, 2011 11:15 am

Hi,
I have just upgraded from GdPicture.NET Document Imaging SDK v6 to v8.
In my application I load pdf files, render as image and save each page as .png
I can't see how to do that now because gdviewer.PdfRenderPageToGdPictureImage is no longer available in v8. I can display pdf from file but the only options to save the document are pdf, tif and jpg. PNG was the best format for me because of the small file size and rendering of black and white using grayscale.
How can I save a page of pdf as png in v8? How can I render pdf as an image?
bjcam
 
Posts: 38
Joined: Tue Jul 12, 2011 10:58 am

Re: Rendering from pdf and saving as png

Postby Loïc » Tue Jul 12, 2011 12:07 pm

Hi,

You have 2 options:

1- use the GetPageThumbnail function.
2- Use the GdPicturePDF plugin that includes all you need to rasterize PDF to bitmap.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Rendering from pdf and saving as png

Postby bjcam » Tue Jul 12, 2011 1:30 pm

Thanks, Loic
Can you tell me if the pdf plugin has any annotation features or would I have to buy that separately too?
bjcam
 
Posts: 38
Joined: Tue Jul 12, 2011 10:58 am

Re: Rendering from pdf and saving as png

Postby Loïc » Tue Jul 12, 2011 4:47 pm

Hi,

The GdPicturePDF plugins has not yet annotation feature. We will bring support to add PDF annotation, by code very soon.

For interactive annotation support (annotation that can be drawn by user ), you should consider the GdPicture XMP/Annotations plugin that is a standalone plugin.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Rendering from pdf and saving as png

Postby bjcam » Tue Jul 12, 2011 10:04 pm

Hi
Yes, I am considering the annotations plug-in, but I wouldn't be able to buy both that and the pdf one.
Thanks for your help
bjcam
 
Posts: 38
Joined: Tue Jul 12, 2011 10:58 am

Re: Rendering from pdf and saving as png

Postby Loïc » Wed Jul 13, 2011 11:40 am

Hi,

You can reach our sales team at http://support.gdpicture.com to see what can be done.

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to Image Processing

Who is online

Users browsing this forum: No registered users and 0 guests