Hello,
We have some TIFF files - generated by Kofax - that take well over 30 seconds to be converted from TIFF to PDF. Also, the size of the resulting file is often well over 20 megabytes. I wrote a little program (attached) that reproduces the problem. It is more or less a copy of the code in Aspose.Pdf's documentation, with some timing printouts added.
If I include the call to image.setBlackWhite(true), the time to convert the document is reduced to 15 seconds (which is still unacceptable IMO), and the file size drops to a normal level.
Would it be possible to find out what it is about these TIFF files that causes these performance problems?
Thank you in advance for your help,
Marc
PS : I have tried versions starting at about 11.7, all the way up to 16.10.0