This release improves psnup and updates to a later version of pypdf that fixes a crash.
In psnup, improve how we guess the page size. Since we can now guess the size of PostScript files accurately in many cases, use the input size first, then the output size, and only then fall back to `paper`’s value.
Also, fix a bug where the output paper size was incorrectly changed during processing.
We now require pypdf >= 3.16, which fixes a bug that could cause a crash on PDF documents containing links that pointed to each other.
Finally, the test suite has been improved to fall back to visual comparison
of PDF outputs when they are not byte-identical. This should ease pypdf
upgrades in future, and in particular avoid either having to hard-wire a
particular pypdf version (as we did with PSUtils version 3.2.0), or risk
test failures with newer versions of pypdf than the minimum required version
(as we did previously).