Free Support Forum - aspose.com

Image to PDF conversion problems

Hello,


I’ve developed a component to convert tiff images into PDF in a batch process using Aspose.PDF

Thist component usually works well but randomly produces bad PDFs.

The same image bad converted, converts ok in another process (using exactly the same component and configuration).

Any idea what’s happening?

Attatched are and Image sample and a bad pdf sample.

Hello Miguel,

Thanks for considering Aspose.

I've tested the scenario with Aspose.Pdf for .NET 4.1.1 and I'm unable to notice the problem. The resultant PDF is being generated without any issue. I've used the code snippet shared over Performance Improvement while converting TIFF to PDF (Please remove the line of code in which Image scale value is being set). For your reference, I've also attached the resultant PDF document.

In case it does not resolve your problem or you've any further query, please feel free to contact.