I tried iText by first reading a PDF and then re-creating the PDF with the PDF version set 10 1.4 and conformance set to PDF-1A.
I validated the generated PDF using an external tool but it gave some issues.
Following is the snippet of the code:
Could you please suggest me other ways of achieveing this?
Not to my knowledge; certainly no freely available ones. PDF is not amenable to a lot of changes after its creation; while some modifications are possible, structural alterations within pages generally aren't.
It's possible that Adobe has a native library you could license for this purpose.
hi it is very helpfull your code example... over a many tests, finally i could transform an older version Pdf from Version 1.1 to pdf A-1b format..
here is the lines
first create a simple proyect whit no interfaces and next, import the itext librarys in my case i use 5.5.9 then i create a class whit this code