There are other ways to uncompress streams and your patch will fail with dct 
encoded images, for example.

Paulo

----- Original Message ----- 
From: "Michael Schierl" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here" 
<itext-questions@lists.sourceforge.net>
Sent: Saturday, July 07, 2007 2:43 PM
Subject: [iText-questions] [PATCH] Uncompress streams if Document.compressis 
false


> Hello,
>
> Currenlty, Document.compress==false will only prevent newly created
> streams from being compressed.
>
> The attached patch will also decompress already existing compressed
> streams (imported from other PDF files).
>
> This is useful especially for debugging files that have been created
> previously or that have been created by another program.
>
> Michael
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to