The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am using Essential PDF to merge two and more PDF files. It worked fine in testing with the PDF files made available to me, however, after I started testing with the PDFs produced by Oracle Documaker (for which my solution is intended)m, I get the following error every time when trying to execute PdfDocument.Merge
Message ==Invalid/Unknown/Unsupported format Data ==System.Collections.ListDictionaryInternal InnerException == TargetSite ==Byte[] PostProcess(Byte[], System.String) StackTrace == at Syncfusion.Pdf.Primitives.PdfStream.PostProcess(Byte[] data, String filter) at Syncfusion.Pdf.Primitives.PdfStream.Decompress(Byte[] data, String filter) at Syncfusion.Pdf.Primitives.PdfStream.Decompress() at Syncfusion.Pdf.PdfPageLayerCollection.CombineContent(Stream stream) at Syncfusion.Pdf.PdfPageBase.GetContent() at Syncfusion.Pdf.PdfDocumentPageCollection.Add(PdfLoadedDocument ldDoc, PdfPageBase page, ArrayList destinations) at Syncfusion.Pdf.PdfDocument.ClonePage(PdfLoadedDocument ldDoc, PdfPageBase page, ArrayList destinations) at Syncfusion.Pdf.PdfDocumentBase.ImportPageRange(PdfLoadedDocument ldDoc, Int32 startIndex, Int32 endIndex) at Syncfusion.Pdf.PdfDocumentBase.Append(PdfLoadedDocument ldDoc) at Syncfusion.Pdf.PdfDocumentBase.Merge(String[] paths)
Are there any compatibility setting I need to be looking at either on the Essential PDF component or the PDF generator?
I can e-mail the file that fails to the Syncfusion support personnel if requested.
BPBhuvaneswari P Syncfusion Team January 21, 2009 11:06 AM UTC
Hi,
Thank you for your interest in Syncfusion products.
I am afraid that I am unable to reproduce the issue "while merging the PDF document it throwing an exception". Could you please send you PDF documents which you trying to merge to us? It would be helpful for us to reproduce the issue and provide a possible solution.