Hi, I’m trying out the new version of aspose.pdf.kit. In the old version I used:the code below. However, ForceTiffProcessing is no longer valid. That line of code made the old conversions very fast and avoided memory leaks. One file in particular I couldn’t open at all without that line. Now, without that line, I have all the same old problems - incredibly slow, memory leaks, failures, etc. Hopefully, there’s a new, improved way of doing these conversions!
convPDF = new PdfConverter();
convPDF.BindPdf(strFileName);
convPDF.SaveAsTIFF(ms);
convPDF.ForceTiffProcessing = TiffProcessingMode.Complete;
convPDF.DoConvert();
ms = new MemoryStream();
convPDF.StartPage = intPage;
convPDF.EndPage = intPage;
if (convPDF.HasNextImage())
{
convPDF.GetNextImage(ms, System.Drawing.Imaging.ImageFormat.Bmp);
bmp = (Bitmap)System.Drawing.Image.FromStream(ms);
}
This message was posted using Page2Forum from PdfConverter.SaveAsTIFF Method (String, CompressionType) - Aspose.Pdf.Kit for .NET