Re: [iText] compression
- From: "Rhino" <no.offline.contact.please@xxxxxxxxxx>
- Date: Tue, 28 Feb 2006 11:14:30 -0500
"Ingo R. Homann" <ihomann_spam@xxxxxx> wrote in message
news:4404295a$0$13795$9b4e6d93@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,You might get better answers if you tried posting this question on the iText
I am generating 2 documents with iText. I want to test, if the documents
are identical. (Background: I'm doing a refactoring and want to test if
the functionality remains the same.)
The documents look identical, but "diff" says that they are not.
Unfortunately, it doesn't tell me *what* differences are there, because
the files are binary.
My first idea was that there is a timestamp in the PDF that is not
displayed but of course is a difference.
I tried to filter the PDFs using "hexdump -C", but when comparing the
results with diff, it is obvious that there are *many* differences (or
perhaps it is only a small "offset-difference" that diff does not realize
correctly).
Anyhow, that kind of comparison does not work.
So, my question is: (How) can i tell iText to save a document
"uncompressed", so that the differeneces are more obvious and readable?
Or is there a completely different approch to my problem rather than
extract the ASCII out of the PDF at the end?
forum (at the iText website). You may even find that this has been answered
already in the archive of that forum. The developers of iText are very
active in helping users solve problems with iText.
Here on comp.lang.java.programmer, you will find that most people have never
used iText and even some of us who have used it, have never tried to do file
comparisons between different versions of documents.
--
Rhino
.
- References:
- [iText] compression
- From: Ingo R. Homann
- [iText] compression
- Prev by Date: Re: a question relating to job application
- Next by Date: Re: Java Data Mapper
- Previous by thread: [iText] compression
- Next by thread: Newbie JAR problem
- Index(es):
Relevant Pages
|