Manulak,

Manulak Dissanayake wrote
> So I have mentioned the code I added to convert the PDF to PDFA/1b below.
> I am using iText.jar (lowagie) 2.1.6 and got to know that it is not
> supported now. And as Micheal described, I can't convert PDF to PDFA
> complaint PDFS using iText.
> I tried with using the same code in latest versions and was not
> successful. Do you think my approach with converting PDFA complaint PDFS
> from existing PDF files is not correct? And impossible?
> Any suggestions?

It is not strictly impossible to use iText to convert arbitrary PDFs to
PDF/A as the iText low level API allows you to to nearly everything allowed
in PDF. It is a very big project, though, especially if the PDFs to convert
really are arbitrary. It's safe to assume that programming that as a single
developer takes more than a year.

Manulak Dissanayake wrote
> This will create the PDFA/1b complaint PDF correctly. So the problem is
> with those which I removed. This is a mismatch between PDF Schema and the
> Dublin core schema if I am correct.

iText used to assume everyone uses the recommended namespace prefixes and,
therefore, failed for source PDFs which didn't.

But the metadata are merely a tiny part of the conversion problem. I would
propose you initially create PDFs as PDF/as, and for people who don't want
that, you stamp those PDF/as in a non-compliant manner. (If such a
distinction is required, that is!)

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/PDF-Validation-error-with-PDF-A1b-complaince-tp4655986p4656073.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to