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

Free Support Forum - aspose.com

Extract to Image fails (messes up image) - urgent production issue

Hi,

We have problems extracting any PDF file into image.

The code we're using is:

For Each pageStream As MemoryStream In _pdfFileEditor.SplitToPages(_fileName)
Dim _converter As New PdfConverter()
_converter.BindPdf(pageStream)
_converter.DoConvert()
While _converter.HasNextImage()
Dim _imgPath As String = vTempPath + "\" + Path.GetFileNameWithoutExtension(_fileName) + "_page_" + CStr (vCurrentPage) + ".tiff"
_converter.GetNextImage(_imgPath, System.Drawing.Imaging.ImageFormat.Tiff)
vCurrentPage += 1
End While
Next

Attached you'll find original PDF file and Tiff file extracted.
I've also tried :
_converter.SaveAsTIFF
without any luck...
Saving as Png does not work either.

I've tested it a couple of various ways without any luck...
However it did work correctly back in v 2.7.

I've tried v 3.6 and v 3.8.0.1.

Any suggestions or hotfix would be appreciated..

any suggestions for this issue?

Hi Nils Arne,

We’re looking into this problem at our end. You’ll be updated with the results, the earliest possible.

We’re sorry for the inconvenience.
Regards,

Hi Nils Arne,

We have reproduced and logged this issue as PDFKITNET-12381 in our issue tracking system. Our team will be looking into the matter and you’ll be updated via this forum, once the issue is resolved.

We’re sorry for the inconvenience.
Regards,

The issues you have found earlier (filed as 12381) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(3)