Re: [iText-questions] Error generating PDF/A

2012-07-13 Thread Abedellatif Hussein
Thank you very much for your quick response. I am using FileStream now instead of StreamWriter. Thanks again -- View this message in context: http://itext-general.2136553.n4.nabble.com/Error-generating-PDF-A-tp4655571p4655585.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] Error generating PDF/A

2012-07-10 Thread Paulo Soares
Put the idocument.Open(); right after the writer.PDFXConformance = PdfWriter.PDFA1B; By the way, why are you using a StreamWriter? PDF is binary. Final note: you are not subscribed, Nabble IS NOT the iText mailing list. Paulo On Mon, Jul 9, 2012 at 10:03 AM, Abedellatif Hussein wrote: > Hi

[iText-questions] Error generating PDF/A

2012-07-10 Thread Abedellatif Hussein
Hi, I am trying to generate an Image only pdf/a file using "iTextSharp v 5.3.0" from a jpg source. the code works fine when using JAVA iText library. everything works fine except when I try to embed the ICC color profile I get this exception "Object reference not set to an instance of an object.