Environment: Win 11, Net 4.8 Spire
PDF to PCL creates corrupted files. We tried libraries from two different vendors and the show that the file created by Spire libraries is corrupted and can not be converted back to PDF (see error in attached image). Any PDF file converted to PCL will show the errors.
Code:
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(@"C:\path\to\your\document.pdf");
pdf.SaveToFile(@"C:\path\to\your\output.pcl", FileFormat.PCL);
pdf.Close();