Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying deflate compression level #69

Open
LeadRDRK opened this issue Jul 27, 2024 · 3 comments
Open

Allow specifying deflate compression level #69

LeadRDRK opened this issue Jul 27, 2024 · 3 comments

Comments

@LeadRDRK
Copy link

Can we get an option to set the deflate compression level? The code seems to be hardcoded to use the default compression level.

@REAndroid
Copy link
Owner

All apk packers uses DEFAULT_COMPRESSION, making any different can flag the apk.

@LeadRDRK
Copy link
Author

LeadRDRK commented Jul 28, 2024

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?

@REAndroid
Copy link
Owner

Never seen compressed size variations unless files are modified. This should be investigated , can you share your original and modified apks ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants