We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Conversion of PDF/A to PDF

Hi,

We are converting PDF/A compliant file (ProtectDocument Vision v1 - PDFA-1b.pdf (49.5 KB)
) to PDF using next code:
using (var inputDocument = new Aspose.Pdf.Document(inputFileFullName))
{
new Aspose.Pdf.DocumentInfo(inputDocument) { ModDate = DateTime.Now };

            var report = new MemoryStream();
            inputDocument.Convert(report, Aspose.Pdf.PdfFormat.v_1_5, Aspose.Pdf.ConvertErrorAction.Delete);

            inputDocument.Save(outputFileFullName);
        }

The output file ProtectDocument Vision v1_PDFA-1b - Converted to PDF.pdf (49.5 KB) is still shown in Acobat Reader as PDF/A file PDF/A to PDF.jpg (138.1 KB) and it passes the PDF/A compliance verification in Adobe Acrobat, while we would expect the output file to be a usual PDF.

Best regards
Valeriy

@uaprogrammer

Thanks for contacting support.

Please use following code snippet, in order to convert PDFA to Standard PDF format.

Document doc = new Document(dataDir + "ProtectDocument Vision v1 - PDFA-1b.pdf");
doc.RemovePdfaCompliance();
doc.Save(dataDir + "ProtectDocument Vision v1 - PDFA-1b_Standard.pdf");

ProtectDocument Vision v1 - PDFA-1b_Standard.pdf (49.0 KB)

In case of any further assistance, please feel free to let us know.