Don't let "aapt crunch" increase image size.
For an image that's already optimized, aapt crunch typically increases the image size. In this case, we now use the original image instead of the crunched image. 9-patches, however, must always be crunched, since crunching adds important metadata to the file. Currently, this saves 50KB, but has the potential to save up to 300KB once we optimize all the images in the codebase. BUG=407781 Review URL: https://codereview.chromium.org/867483005 Cr-Commit-Position: refs/heads/master@{#313656}
Showing
Please register or sign in to comment