Free Support Forum - aspose.com

The texts on the pdf missing in tiff image while using SaveAsTiffImage

Hi,

We are using of Aspose.Pdf for .NET 7.4.0.

We are using the following code to save a pdf document as a tiff image.

All the texts in the pdf are missing in the resulting tiff image


void Main()
{
string OriginalPdfPath = @"D:\test\AZCRM41.pdf";
string pathToAsposeLicense = @"D:\test\Aspose.Pdf.lic";
Stream licenseStream = new StreamReader(pathToAsposeLicense).BaseStream;
Aspose.Pdf.License license = new Aspose.Pdf.License();
license.SetLicense(licenseStream);

Aspose.Pdf.Facades.Form form = new Aspose.Pdf.Facades.Form(OriginalPdfPath);
Aspose.Pdf.Document dc = new Aspose.Pdf.Document(OriginalPdfPath);
Aspose.Pdf.Facades.FormEditor editor = new Aspose.Pdf.Facades.FormEditor(dc );

Aspose.Pdf.Facades.PdfConverter converter = new Aspose.Pdf.Facades.PdfConverter(dc);
converter.SaveAsTIFF(@"d:\test\Output.tiff");
}

I have attached the pdf document we are using.

Really apreciate any help on geting a fix for this.

Thanks,
Anwar

Hi Anwar,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for sharing the details and template file.

I am able to reproduce the issue you mentioned regarding PDF to Tiff conversion. For rectification, issue has been registered in our issue tracking system with issue id: PDFNEWNET-34405. We will notify you via this forum thread regarding any updates.

Sorry for the inconvenience,