Pdf unable to export as image

Hi.

I'm very much happy with your controls. Recent;y I have problem with converting pdf tp image with one of my users who has uploaded the pdf in the attachment.

Pdf is unable to export as image. It's being struck at exporting.

This is the code I'm using it for exporting as Image:

For Each filePath As String In filePaths
                Dim filename As String = System.IO.Path.GetFileNameWithoutExtension(filePath)
                Dim loadedDocument As New PdfLoadedDocument(filePath)
                Dim loadedPages As PdfLoadedPageCollection = loadedDocument.Pages
                Dim image As Bitmap = loadedDocument.ExportAsImage(0)
                image.Save("Downloads\"+ "Image_" & filename & ".png")
                loadedDocument.Close(True)
                loadedDocument.Dispose()
Next

Attachment: sample_50b40236.rar

1 Reply

AA Akshaya Arivoli Syncfusion Team March 13, 2018 11:23 AM UTC

Hi Ravi, 

Thank you for contacting Syncfusion support. 

We can reproduce the issue “Exporting the PDF document to images using the PdfLoadedDocument takes much time for the provided PDF document” and the fix for this issue will be included in our Volume 1 SP1 release which expected to roll out at the end of March 2018. Also, please create a new incident under your account, if you need the fix prior to the release. Please log on to our support website to create new incident 


Please let us know if you need any other assistance on this. 

Regards, 
Akshaya 


Loader.
Up arrow icon