DescriptionDon'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
Committed: https://crrev.com/d7e09cdd4322829368cdad8eb33c784912971a77
Cr-Commit-Position: refs/heads/master@{#313656}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|