RUPS is an acronym for Reading and Updating PDF Syntax. RUPS is a tool built on top of iText® that allows you to look inside a PDF document and browse the different PDF objects and content streams.
I like to propose a new feature for rups called diff viewer.
This feature would allow the user to easily see binary differences of 2 PDF documents which can greatly help while debugging.
Let's take a look at the POC.
This view showcases the lines changed, in this case we didn't decompress the contentstreams so the only changes we see are the compressed binary changes and some offset/size/ creation date changes.
But if we check the decompress option we see the following lines have been added in green.
So you can clearly see that some text has been added. This will also be the case when adding or changing other things in the document.
Features I like it to have:
[x] Allow content stream decompression
[ ] Allow ignoring xref table
[ ] Allow ignoring of embedded files and images and font's (big binary data in general)
[ ] Create a simple Cli interface for this so we can use it within iText development tools
[ ] Implement drag and drop for file opening
Disclaimer:
This is A POC it seems to work but the code is far from production ready
It currently relies on my Personal diff library, I will opensource this one if this feature is accepted
Have any questions/extra features you want please let me know
Hi all,
I like to propose a new feature for rups called diff viewer. This feature would allow the user to easily see binary differences of 2 PDF documents which can greatly help while debugging.
Let's take a look at the POC. This view showcases the lines changed, in this case we didn't decompress the contentstreams so the only changes we see are the compressed binary changes and some offset/size/ creation date changes.
But if we check the decompress option we see the following lines have been added in green.
So you can clearly see that some text has been added. This will also be the case when adding or changing other things in the document.
Features I like it to have:
Disclaimer:
Have any questions/extra features you want please let me know