We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose PDF Page To Image

Hello,

I am trying out aspose pdf kit as a solution to render the first page of a pdf file to an image in VB.NET. Here is a sample of my code:

Dim printFileImageStream As New IO.MemoryStream
Dim converter As Aspose.Pdf.Kit.PdfConverter = New Aspose.Pdf.Kit.PdfConverter()
converter.BindPdf(pdfToRender)
converter.Resolution = 72
converter.EndPage = 1
converter.DoConvert()

If converter.HasNextImage Then
converter.GetNextImage(printFileImageStream, Imaging.ImageFormat.Bmp, 200, 200, 50)
End If

Is there anything I can do to speed up the processing of the conversion?

Thanks,

Craig Alexander


This message was posted using Page2Forum from Aspose.Pdf.Kit Demos - .NET Components Demos

Hi,

Thanks for using our products.

The conversion of PDF document into image format depends upon the contents/size of the source PDF document and also the value specified against Resolution property. Can you please share the source PDF document and the time application is taking at your end so that we can test the scenario at our end. We apologize for your inconvenience.

Also please share some information regarding your working environment i.e. Operating System, system specifications etc.