Re: [iText-questions] File growth on encrypt

2010-12-09 Thread Paulo Soares
I suspect the problem here is the full compression not applied. Paulo -Original Message- From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: Thursday, December 09, 2010 12:05 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] File growth on encrypt Op 9/12/2010 11

Re: [iText-questions] File growth on encrypt

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 11:45, fran otero schreef: > I everyone, > I'm using iTextSharp in order to encrypt pdf files. Original file has > 6mb and after encrypt it grows up to 12mb. Is it normal or can I avoid it? It's normal that the filesize of an encrypted file is larger than the size of a non-encrypted

[iText-questions] File growth on encrypt

2010-12-09 Thread fran otero
I everyone, I'm using iTextSharp in order to encrypt pdf files. Original file has 6mb and after encrypt it grows up to 12mb. Is it normal or can I avoid it? Code: PdfReader pdfReader = new PdfReader(data); > > PdfEncryptor.Encrypt(pdfReader, ms, true, userPassword, ownerPassword, > PdfWriter.All