commit | c94140824cee443f9caf8d7217903aba2bd1f23d | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Tue Oct 29 17:53:57 2024 -0700 |
committer | Yurii Zubrytskyi <zyy@google.com> | Tue Oct 29 18:01:03 2024 -0700 |
tree | 30b5788eb873af3889197b0a9c8f0dae06f7f733 | |
parent | c10aa455762e84a3bb51fdb061b85f7712c42f80 [diff] |
[aapt2] Add a compression control option to 'compile' 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