we have a problem converting a PDF file to PDF/A if the source PDF was created using AsposePDF for Java and then we try to convert it to PDF/A also using AsposePDF for Java (last tested with version 20.11), then the document is not converted to PDF/A.
Interestingly, a PDF document created with GhostScript, for example, is converted to PDF/A in AsposePDF for Java just fine.
The error should already be reported under ID PDFJAVA-39804.
We would need a patch as soon as possible. When can we expect it?
The ticket PDFJAVA-39804 has been logged recently in our issue tracking system and it will surely be resolved on first come first serve basis. However, it is logged with a specific PDF file. It would be appropriate if you could provide a sample PDF document as well so that a dedicated ticket can be logged for your case as well because sometimes issue is used to be related to a specific type of PDF document.
We tried to convert your all provided documents into PDF/A_3A and did not notice any issue during conversion process. We used following code snippet with Aspose.PDF for Java 20.11. Output files are also attached.
Would you please share what type of error are you noticing at your side. Please also check attached outputs and let us know about your feedback against them.
Thank you for link. We tested it and finally we identified an interested result. If we follow your code with ConvertErrorAction.Delete, then file is correctly converted to PDF/A-3A. When (and we have been used it before) we use ConvertErrorAction.None, then file is not converted into PDF/A-3A. What is difference between these two values? Why Delete convert it and None not?
When using ConvertErrorAction.Delete, the API deletes/ignores all the errors which causes the conversion to be failed and in this case, the log file contains description of deleted errors which occurred during the conversion and were ignored/deleted by the API. ConvertErrorAction. None forces API to consider every conversion error and does not bypass them in order to make the conversion successful.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.