TMan9654 / PyPDFCompare

PDF Comparison tool
GNU General Public License v3.0
12 stars 0 forks source link

Change Log File #2

Open zumwalt2001 opened 4 months ago

zumwalt2001 commented 4 months ago

The GUI you added to pick files works great, thanks.

One more thing that would help me would be a text log file with the number of changes on a per sheet basis.

That would help me for the following reasons:

  1. I'm not exactly color blind, but seeing small areas of red and green can be challenging. With a count of the changes I can make sure I address them all.
  2. When comparing a large multi-sheet PDF, switching sheets becomes slow and tedious. Knowing what sheets have changed means I can concentrate on only those sheets.
TMan9654 commented 4 months ago

This is a good idea. I will look into this! I've been thinking of adding an initial page that would contain statistics about the document such as total changes and perhaps an index of what pages had clear significant changes. Looking at the "Differences" page, I might be able to use the different shades of blue and red color values to better determine more significant changes ([0, 255, 0] being a hard addition, [255, 0, 0] being a hard removal and potentially add a threshold to that. Ill play with it and see what 'll work best. Thanks for the continued support and feedback! Keep them ideas coming!

TMan9654 commented 4 months ago

I've added a statistics page to the gui version. Hopefully it is along the lines of what you had in mind. I have been fairly busy lately so I haven't had the time id like to work on this. I intend to improve upon it further and I'm also a little dissatisfied with the quality for the merging algorithm. I settled upon using the number of boxes to indicate the quantity of changes for the statistics thus relies on the accuracy of the boxes to be relatively decent. Its usually pretty decent but I've noticed in some cases (in my case a large ANSI D size drawing with a high ish DPI), small changes can be merged together into 1 large change and skewing the statistics for what id consider as more smaller changes. For now I think this will suffice while I can get some free time. Let me know what you think!