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

Free Support Forum - aspose.com

Stack overflow when saving PDF to TIFF

Attempting to convert the attached PDF to a TIFF using a TiffDevice will cause a stack overflow exception that cannot be caught in managed code due to an apparent recursion problem in Aspose.Pdf.


Repro:

using (var pdf = new Aspose.Pdf.Document(pdfPath))
{
using (var ms = new MemoryStream())
{
var tiffDevice = new TiffDevice(new Resolution(300));
tiffDevice.Process(pdf, ms);
}
}

Hi Barry,


Thanks for contacting support.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have logged this issue
as PDFNEWNET-36086 in our issue tracking system. We will further
look into the details of this problem and will keep you updated on the status
of correction. Please be patient and spare us little time. We are sorry for
this inconvenience.

The issues you have found earlier (filed as PDFNEWNET-36086) have been fixed in Aspose.Pdf for .NET 9.2.0.

The blog post for this release is created over this link


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.