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

Free Support Forum - aspose.com

Signed pdf cannot be converted to pdf/a

I have problems using Aspose Java PDF to create pdf/a document from a standard pdf document.

When using setHandleSignatureChange(true) I get an exception (as expected) because the attached document is a signed document.
When not setting this property it gets successfully converted but the result is not a pdf/a.
Used: PdfFormat.PDF_A_1A

sample01.pdf (213.0 KB)


Are you using the latest version i.e. 22.10 and are you setting some other specific conversion options as well? Can you please share complete sample code snippet with us as well? We will test the scenario in our environment and address it accordingly.

Yes, using 22.10 pdf for Java.

I’m doing the following. Tried it separated from my application - but still the same

File testFile = new File("/tmp/sample01 (5).pdf");    
File logFile = new File("/tmp/out.log");    
File outputFile = new File("/tmp/result.pdf");    
com.aspose.pdf.Document doc = new com.aspose.pdf.Document(new FileInputStream(testFile));    
boolean convert = doc.convert(logFile.getAbsolutePath(), PdfFormat.PDF_A_1A, ConvertErrorAction.Delete);    
doc.save(new FileOutputStream(outputFile));


We are checking it and will get back to you shortly.


how is the status on this issue?


We were to replicate the issue in our environment. Therefore, it has been logged as PDFJAVA-42277 in our issue tracking system for the sake of correction. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

How is the status of this issue?


The ticket has recently been logged in our issue tracking system and it is pending for analysis. We will surely investigate and fix the ticket on first come first serve basis. You will surely be notified via this forum thread as soon as some progress is made towards ticket resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.