summaryrefslogtreecommitdiff
path: root/libs/androidfw/PngCrunch.cpp
AgeCommit message (Collapse)Author
2024-10-29[aapt2] Add a compression control option to 'compile' Yurii Zubrytskyi
aapt2 recompresses all PNGs it compiles, and by default it uses the best (and slowest) zlib compression level, 9. This change adds a command line option --png-compression-level to control that, so it's possible to set it to something faster e.g. 6 which is usually 5x faster and around 101% of the size of level 9 PNGs Test: manual, compile Framework Flag: EXEMPT tool Change-Id: Ibe5f47b82e1c13be0a4ffff0e07e675871abc956
2023-11-30Revert^2 "Move some image/9patch code to androidfw" Jeremy Meyer
This reverts commit 917043bc2586743afda5a21386893fa8c787800b. Reason for revert: Roll forward with fix Test: Automatic Bug: 296324826 Change-Id: I42a0b48c02fd497b2174c0c65f300265202f7ab1