Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] [PATCH] Uncompress streams if
 Document.compressis false

Paulo Soares

2007-07-07

Replies:

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

Paulo

----- Original Message -----
From: "Michael Schierl" <schierlm@(protected)>
To: "Post all your questions about iText here"
<itext-questions@(protected)>
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@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.