Allow specifying deflate compression level
Can we get an option to set the deflate compression level? The code seems to be hardcoded to use the default compression level.
All apk packers uses DEFAULT_COMPRESSION, making any different can flag the apk.
I see. I'm requesting this feature because repacking an APK file (that I got directly from Google Play) results in a bigger size despite using the same store/deflate compression method for the individual files; the files that were deflated had a bigger compressed size than their original counterpart. Wouldn't that mean the original's compression level is higher? Is it just a particular problem with this implementation?
Never seen compressed size variations unless files are modified. This should be investigated , can you share your original and modified apks ?