I get the following error on a lot of files (I have attached 3 examples) when I try to convert the file to pdf/a using the following code. I'm using version 8.2.0.0 of aspose.pdf.
private static MemoryStream ConvertPdfToPdfA(Stream inputStream) { var outputStream = new MemoryStream(); using (var pdf = new Aspose.Pdf.Document(inputStream)) { try { pdf.Convert(new MemoryStream(), PdfFormat.PDF_A_2B, ConvertErrorAction.None); pdf.Save(outputStream); pdf.Dispose(); return outputStream; } catch { pdf.Dispose(); GC.Collect(); throw; } } }