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.AllowPrinting + PdfWriter.AllowScreenReaders);
>
> data = ms.GetBuffer();
>
> pdfReader.Close();
>
Thanks in advance,
Hillock
------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:
WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
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