Aspose PDF Page To Image


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.Resolution = 72
converter.EndPage = 1

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?


Craig Alexander


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.