Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Jan 02, 2015 8:03 pm

Hi,

I'm very interested in Spire.PDF to use it in a desktop application that basicly will act as a Scanning, Classifying and Archiving utility and I need to create a gallery with thumbnails of a PDF's pages. I'm using the following code but I feel that the SaveAsImage method is a bit slow. Is this because I'm using a trial or am I misusing Spire.PDF somehow.
Remember that the reason I need the images is to build the page thumbnail gallery.

Sample Code:

PdfViewer viewer = new PdfViewer();
viewer.LoadFromFile(openFileDialog1.FileName);

for(int i=0; i<viewer.PageCount; i++)
{
Image image = viewer.SaveAsImage(i);

AddPicture(image);
}

Best regards,

Duarte Santos

duartefsantos
 
Posts: 3
Joined: Fri Jan 02, 2015 7:56 pm

Mon Jan 05, 2015 1:58 am

Dear duartefsantos,

Thanks for your inquiry.

To help us resolve this problem, please upload your sample pdf document to the forum or send it to burning.liu@e-iceblue.com.

Thank you.
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Tue Feb 17, 2015 8:22 pm

Please close this ticket.

duartefsantos
 
Posts: 3
Joined: Fri Jan 02, 2015 7:56 pm

Wed Feb 18, 2015 2:32 am

Hello duartefsantos,

Please feel free to contact us if you have any questions.
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Return to Spire.PDF