- Home
- Forum
- ASP.NET Core - EJ 2
- Convert from pdf to PDF/X-1a
Convert from pdf to PDF/X-1a
As the title says, I am trying to convert from a PDF to a PDFX-1a so it can be sent to a print vendor.
The documentation references that this isn't a supported feature: Working with PDF conformance in .NET PDF Library | Syncfusion
Has this feature request been logged, is there a suggestion for an alternative?
For a workaround, I am trying to use to convert, similar to what I saw here:
Convert PDF to PDF/A | WinForms Forums | Syncfusion
using (var pdfA = new Syncfusion.Pdf.PdfDocument(Syncfusion.Pdf.PdfConformanceLevel.Pdf_X1A2001))
{
pdfA.ImportPageRange(mPdfDocument, 0, mPdfDocument.Pages.Count - 1);
pdfA.Save(pStream);
}
However, I get an exception on that first line (when initializing the PdfDocument) even though the documentation linked in my post indicates that creating a new PDF with this conformance would be supported.
Exception text:
Syncfusion.Pdf.PdfConformanceException: PDF/X-1a conformance is not supported
at Syncfusion.Pdf.PdfDocument..ctor(PdfConformanceLevel conformance)
Hi Matt Munyan,
The requested PDF/X-1a conformance is not supported on the Net core platform. We suggest you try converting the PDF into Pdf/A-1B and try if it suits your requirement or not.
Regards,
Irfana J.
Hi Irfana,
I understand that converting from PDF to PDF/X-1A isn't currently supported. Can it be a feature request?
Also, is there a reason even creating a new document with that conformance standard isn't supported in .Net Core now? The documentation gives no indication it wouldn't be.
Attachment: Working_with_PDF_Conformance_fb920d61.zip
Hi Matt Munyan,
Currently, we do not support creating PDF/X-conformant documents on cross-platform frameworks, and our user guide documentation also lacks examples for generating such documents in a cross-platform environment. For additional context, please refer to the attached screenshot.
However, we plan to include this information in our user guide documentation in the future. At this time, there are no immediate plans to implement this feature. We have logged it as a feature request, and it will be considered for one of our upcoming releases.
Our release cycles typically occur at intervals of at least three months. During the planning phase of each cycle, we review all pending feature requests. Once this feature is available, we will notify you promptly.
You can track this feature request using this feedback link:
https://www.syncfusion.com/feedback/2590/pdfx1-a-conformance-document-creation
Regards,
Irfana J.
- 4 Replies
- 2 Participants
-
MM Matt Munyan
- Dec 16, 2024 08:34 PM UTC
- Dec 18, 2024 07:23 AM UTC