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

Free Support Forum - aspose.com

How to convert PDF to PDF_X_1A format with Aspose.Pdf

Hi Team,

I’m validating and converting PDF to PDF_X_1A . Using below code for the same. Once the document is converted to PDF_X_1A, If I again select the the converted document it will fail the validation check.
I’m writing code in .Net.

if (!pdfDocument.Validate(“validation-result-A1A.xml”, PdfFormat.PDF_X_1A))
{
pdfDocument.Convert(path, Aspose.Pdf.PdfFormat.PDF_X_1A, ConvertErrorAction.Delete);
}

Below is the result I am getting in the conversion text file.
1. The trapped key should be ‘true’ or ‘false’.
2. The Title does not exists in Info dictionary

2. Please help ASAP.

Regards,
Ishan Adarsh

Hi Ishan,


Thanks for contacting support.

Please share the resource/input PDF file, so that we can test the scenario in our environment. We are sorry for this inconvenience.

Hi,

Thanks for your reply. I’m attaching the PDF File and the Output conversion XML file :

1. testing123.pdf
2.
Conversion.xml

And below is the code I’m using :

if (!pdfDocument.Validate(“log.xml”, PdfFormat.PDF_X_1A))
{
pdfDocument.Convert(path, Aspose.Pdf.PdfFormat.PDF_X_1A, ConvertErrorAction.Delete);
}

Thanks & Regards,

Ishan Adarsh

Hi Ishan,


Thanks for sharing the resource file.

I have tested the scenario and have managed to reproduce same problem that resultant file is not PDF/X_1a compliant. For the sake of correction, I have logged it as PDFNEWNET-40516 in our issue tracking system. We will further look into the details of this problem and will keep you posted on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

Hi Team,

I’m waiting an update on the logged issue for the case
id PDFNEWNET-40516. All my issues are been resolved by Aspose except the
PDF/X 1-A conversion and validation one. Please let me know if you
would be able to resolve this bug as its long I’m waiting for an update
from your side. I have to provide an answer to my company for this issue
resolution. As they are planning to purchase this tool for the long
run.

Regards,
Ishan Adarsh

Hi Ishan,


Thanks for your patience.

As we recently have been able to reproduce PDF to PDF/A conversion, so its pending for review and is not yet resolved. However as soon as we have some definite updates regarding its resolution, we will surely update you within this forum thread. Please be patient and spare us little time. Your patience and comprehension is greatly appreciated in this regard.

Hi Team,

Waiting for your reply on PDF/A validation issue. Please let me know an estimated TAT as it’s getting delayed. We were in process of purchasing the license but due to this issue we are not proceeding with the purchase.

Regards,
Ishan Adarsh

Hi Ishan,


Thanks for your patience.

As shared earlier, the issue is recently noticed and is pending for review. Please note that issues are resolved on first come first serve basis as we believe its the fairest policy to all the customers. Though we understand the urgency regarding the resolution of this problem but we have to stick to our policies and as soon as we have some further updates, we will let you know.

We are sorry for this delay and inconvenience.