On Sat, 7 Jul 2007 21:18:56 +0100, in gmane.comp.java.lib.itext.general you wrote:
> There are other ways to uncompress streams and your patch will fail with dct > encoded images, for example. I don't care about images - they may remain compressed or get uncompressed. I only want to uncompress all streams that may contain "source code" (PdfNames, PdfDictionaries and similar things) - or at least all of those that are produced by popular applications. Of course, the resulting PDF should still be a valid PDF file. Does my patch just leaves them compressed or does it create invalid PDF files? (I tested my code with a bunch of PDFs and all appeared fine in Adobe Reader afterwards; but obviously I did not test all PDFs that exist so if you tell me that my patch can corrupt PDFs I will believe you.) If the latter, I'd like to know how to do it correctly. TIA, 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/