Extract single PDF page from MultiPDF

Example requests & Code samples for GdPicture Toolkits.
Post Reply
Sly
Posts: 15
Joined: Sun Dec 30, 2007 2:16 pm

Extract single PDF page from MultiPDF

Post by Sly » Wed Jul 08, 2009 3:02 pm

Hello Loic,
as I write in subject text, I want to extract a single PDF page from MultiPdf. This is my code :

Code: Select all

pageID = Me.Viewer.PdfRenderPageToGdPictureImage(200, Me.Viewer.CurrentPage)
oGdPictureImaging.ConvertTo8Bpp216(pageID)
oGdStatus = Me.oGdPictureImaging.SaveAsPDF(pageID, nomeFile, False, "", "", "", "", "") '.
SaveAsString(pageID, DocumentFormat.DocumentFormatPDF, 0)
In this way, I have a page with a high resolution but not acceptable in terms of KB (124 kb), comparing with Acrobat, that is 56Kb.
Can I obatain the same result with a GdPicture's method?
Thanks in advance.

Red_Group

Sly
Posts: 15
Joined: Sun Dec 30, 2007 2:16 pm

Re: Extract single PDF page from MultiPDF

Post by Sly » Thu Jul 09, 2009 12:25 pm

Isn't there any suggestion about my question?

Fox75
Posts: 8
Joined: Thu Jul 16, 2009 12:16 am

Re: Extract single PDF page from MultiPDF

Post by Fox75 » Mon Sep 14, 2009 4:23 pm

Hi Sly,

as far as I know the big question is the kind of page you want to extract, raster images or vector data such as forms...
(see also gdpicture-dotnet-code-samples/function- ... t1583.html)


If it is raster images you should be able to select the more suitable DPI.
For that I was searching also for myself because I saw somewhere a comment that it will be added the feature to retrieve the info from the PDF regarding the DPI to use for PdfRenderPageToGdPictureImage. someone else saw it ? If yes please tell me where :-)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest