On 31/05/2011 10:11, Eugenia Esterno wrote:
Hi to all,
I've just downloaded iText 5.1 and I try to set a watermark on a PDF
file created with *Scanner*.
It's size is 3772 KB and contains 3 pages.
And it's probably corrupt for one of these reasons:
- it doesn't end with %%EOF and %%EOF is not present in the final 1000
bytes.
- it contains streams that have less bytes then indicated in the /Length
key of the stream dictionary.
We can't say which of the above reasons is applicable, nor if there's
some other reason, because we don't have the PDF.
In any case: it's not because the PDF you can open in Adobe Reader that
you should assume it's a valid PDF.
Recently, we've made iText more tolerant towards a specific type of
invalid PDFs, but that fix isn't released yet.
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
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