PDF-ShellTools > Bug reports

Report paper sizes in use : NOT WORKING


Usually I trust this tool to a T but now it seems I maybe can't...

I tried a bunch of 41 pdfs and got a dramatically under par assessment of how many pages there is.

I have attached the example as both "split by pdf sizes" and the combined file. Same results!

link to files: (SIC)

There is indeed a nasty bug in the code! The attached script should have it fixed. I've included code to check the total number of pages reported with the total number of pages processed, that outputs an error messages if a discrepancy exist (to alert for any other flaw the algorithm may have). Try it against a big number of PDFs, and let me know if any error message shows up.


[0] Message Index


Go to full version