PdfConverter producing unreadable TIFF output

Hello…


I am attempting to convert a large number of PDF documents into TIFF format, using PdfConverter. For the majority of documents, the output is correct, however, in approximately 1% of cases the output TIFF is unreadable, with the output appearing as if sections of characters are rendered onto a single location on the output image, as if an “overstrike”.

This generally, but not exclusively, occurs with foreign-language documents. As it appears from investigation that the system the PDFs are derived from requires the “Arial CE” font to be installed, I have installed this font package onto the server performing the conversions. This has had no effect in resolving the problem.

My code to do the conversion is quite straight-forward:

if (!File.Exists(tiffile))
{
PdfConverter converter = new PdfConverter();
converter.BindPdf(currentpath);
converter.DoConvert();
converter.SaveAsTIFF(tiffile);
converter.Close();
}

As mentioned, this produces the expected output the majority of the time, however, I need to be able to convert the “problem” PDFs as well.

Attached is an example source PDF file which converts improperly, as well as the TIFF file output created by PdfConverter from it.

Thanks in advance for any insights on this.

–Randy




Hi Randy,

I have used the latest hot fix of Aspose.Pdf.Kit (5.3.1) and the output TIFF image is generated successfully. Please download this hot fix and try at your end. I have also attached the output TIFF image with this post.

I hope this helps. If you still find any issues or questions, please do let us know.
Regards,

Thank you.


I can confirm that the hotfix has corrected all tested cases with the exception of a PDF that even Adobe Reader does not display properly. Notably, PdfConverter with the hotfix outperforms Adobe Reader itself in the readability of the output tiff by reference to how the original PDF looks in Adobe. For that file, I’m considering it an issue of source PDF file corruption.

–Randy


Hi Randy,

I’m glad to know that the latest hot fix resolved the issue. If you find any more questions, or need further assistance, please do let us know.

Regards,