Join GitHub today
bpo-21417: Compression level for zipfile #5385
This PR adds a
A few things to point out:
I will add a few more notes inline.
The only way is to recompress the zip file with different levels until you find the one that matches the lengths. You could just recompress one of the entries to find the level, on the assumption that the entire zip file used the same level.
Even that only works if you know the tool, and the version of the tool that was used. E.g. 7z, WinZip, Info-ZIP.