Hello, I'm trying to convert a PDF document to TIF and each time the TIF comes out a garbled mess (completely unreadable). Is there some font not supported or something I need to add to my conversion code? Here is my code snippet and attached is the PDF I'm trying to convert. Thank you very much for your time.
Best Regards,
Nelson
//create PdfConverter object and bind input PDF file PdfConverter pdfConverter = new PdfConverter();I've also tried using the TiffDevice and the Process method and get the same result of a corrupt TIF image (also attached to this message).
// create Resolution object with 300 as an argument Aspose.Pdf.Devices.Resolution resolution = new Aspose.Pdf.Devices.Resolution(300);
// specify the resolution value for PdfConverter object pdfConverter.Resolution = resolution;
// bind the source PDF file pdfConverter.BindPdf(@"D:\Temp\Transfer_Dual_BGA.pdf");
// start the conversion process pdfConverter.DoConvert();
//create TiffSettings object and set ColorDepth TiffSettings tiffSettings = new TiffSettings(); tiffSettings.Compression = CompressionType.CCITT4; tiffSettings.Depth = Aspose.Pdf.Devices.ColorDepth.Format1bpp;
//convert to TIFF image pdfConverter.SaveAsTIFF(@"D:\Temp\output.tif", tiffSettings);
// close Converter object pdfConverter.Close(); MessageBox.Show("Done!");
Best Regards,
Nelson