From 1123fafd0174db72897ff2ca27e72e1c7412318f Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Wed, 3 Aug 2016 01:25:00 -0700 Subject: Further compress the text images with zopflipng Bug:30415666 Test: Graphic tests pass on angler with new image files Change-Id: I8716f53cb2f9fc6598fdc84f84e9626994faaa5e --- res-hdpi/images/erasing_text.png | Bin 54818 -> 50373 bytes res-hdpi/images/error_text.png | Bin 38618 -> 35720 bytes res-hdpi/images/installing_security_text.png | Bin 120806 -> 111582 bytes res-hdpi/images/installing_text.png | Bin 110856 -> 102734 bytes res-hdpi/images/no_command_text.png | Bin 67147 -> 61665 bytes res-mdpi/images/erasing_text.png | Bin 31390 -> 29558 bytes res-mdpi/images/error_text.png | Bin 22413 -> 20926 bytes res-mdpi/images/installing_security_text.png | Bin 74814 -> 69709 bytes res-mdpi/images/installing_text.png | Bin 66612 -> 61548 bytes res-mdpi/images/no_command_text.png | Bin 36365 -> 34232 bytes res-xhdpi/images/erasing_text.png | Bin 79548 -> 72595 bytes res-xhdpi/images/error_text.png | Bin 58148 -> 51739 bytes res-xhdpi/images/installing_security_text.png | Bin 211393 -> 195507 bytes res-xhdpi/images/installing_text.png | Bin 189094 -> 174877 bytes res-xhdpi/images/no_command_text.png | Bin 93669 -> 85999 bytes res-xxhdpi/images/erasing_text.png | Bin 132953 -> 119060 bytes res-xxhdpi/images/error_text.png | Bin 96157 -> 84432 bytes res-xxhdpi/images/installing_security_text.png | Bin 484910 -> 447442 bytes res-xxhdpi/images/installing_text.png | Bin 450897 -> 416541 bytes res-xxhdpi/images/no_command_text.png | Bin 265309 -> 243828 bytes res-xxxhdpi/images/erasing_text.png | Bin 291495 -> 264753 bytes res-xxxhdpi/images/error_text.png | Bin 200305 -> 178491 bytes res-xxxhdpi/images/installing_security_text.png | Bin 666547 -> 611664 bytes res-xxxhdpi/images/installing_text.png | Bin 620563 -> 569291 bytes res-xxxhdpi/images/no_command_text.png | Bin 364785 -> 333053 bytes tools/recovery_l10n/README.md | 2 ++ 26 files changed, 2 insertions(+) diff --git a/res-hdpi/images/erasing_text.png b/res-hdpi/images/erasing_text.png index 6138a4e6d..2186c1950 100644 Binary files a/res-hdpi/images/erasing_text.png and b/res-hdpi/images/erasing_text.png differ diff --git a/res-hdpi/images/error_text.png b/res-hdpi/images/error_text.png index 722faaafa..9700f459f 100644 Binary files a/res-hdpi/images/error_text.png and b/res-hdpi/images/error_text.png differ diff --git a/res-hdpi/images/installing_security_text.png b/res-hdpi/images/installing_security_text.png index 20d8ee298..0f605952c 100644 Binary files a/res-hdpi/images/installing_security_text.png and b/res-hdpi/images/installing_security_text.png differ diff --git a/res-hdpi/images/installing_text.png b/res-hdpi/images/installing_text.png index cda9e023f..ec8b875a5 100644 Binary files a/res-hdpi/images/installing_text.png and b/res-hdpi/images/installing_text.png differ diff --git a/res-hdpi/images/no_command_text.png b/res-hdpi/images/no_command_text.png index d24f561aa..3eddcbbed 100644 Binary files a/res-hdpi/images/no_command_text.png and b/res-hdpi/images/no_command_text.png differ diff --git a/res-mdpi/images/erasing_text.png b/res-mdpi/images/erasing_text.png index 659d49f82..b0dd3c6d3 100644 Binary files a/res-mdpi/images/erasing_text.png and b/res-mdpi/images/erasing_text.png differ diff --git a/res-mdpi/images/error_text.png b/res-mdpi/images/error_text.png index 42333581e..6a47a5956 100644 Binary files a/res-mdpi/images/error_text.png and b/res-mdpi/images/error_text.png differ diff --git a/res-mdpi/images/installing_security_text.png b/res-mdpi/images/installing_security_text.png index cde927a1c..149939862 100644 Binary files a/res-mdpi/images/installing_security_text.png and b/res-mdpi/images/installing_security_text.png differ diff --git a/res-mdpi/images/installing_text.png b/res-mdpi/images/installing_text.png index 6c3285705..01e9bfefb 100644 Binary files a/res-mdpi/images/installing_text.png and b/res-mdpi/images/installing_text.png differ diff --git a/res-mdpi/images/no_command_text.png b/res-mdpi/images/no_command_text.png index 0eba5c822..d340df518 100644 Binary files a/res-mdpi/images/no_command_text.png and b/res-mdpi/images/no_command_text.png differ diff --git a/res-xhdpi/images/erasing_text.png b/res-xhdpi/images/erasing_text.png index 4c5d85d40..2f8b46918 100644 Binary files a/res-xhdpi/images/erasing_text.png and b/res-xhdpi/images/erasing_text.png differ diff --git a/res-xhdpi/images/error_text.png b/res-xhdpi/images/error_text.png index f1e8c3938..ad18851c5 100644 Binary files a/res-xhdpi/images/error_text.png and b/res-xhdpi/images/error_text.png differ diff --git a/res-xhdpi/images/installing_security_text.png b/res-xhdpi/images/installing_security_text.png index a6580c811..acc6a7c2b 100644 Binary files a/res-xhdpi/images/installing_security_text.png and b/res-xhdpi/images/installing_security_text.png differ diff --git a/res-xhdpi/images/installing_text.png b/res-xhdpi/images/installing_text.png index dcfdbb2b4..32897d0f0 100644 Binary files a/res-xhdpi/images/installing_text.png and b/res-xhdpi/images/installing_text.png differ diff --git a/res-xhdpi/images/no_command_text.png b/res-xhdpi/images/no_command_text.png index 0c1b23769..eb43c59c5 100644 Binary files a/res-xhdpi/images/no_command_text.png and b/res-xhdpi/images/no_command_text.png differ diff --git a/res-xxhdpi/images/erasing_text.png b/res-xxhdpi/images/erasing_text.png index 56421b6bf..8ff2b2fcf 100644 Binary files a/res-xxhdpi/images/erasing_text.png and b/res-xxhdpi/images/erasing_text.png differ diff --git a/res-xxhdpi/images/error_text.png b/res-xxhdpi/images/error_text.png index c121b2f04..658d4ea56 100644 Binary files a/res-xxhdpi/images/error_text.png and b/res-xxhdpi/images/error_text.png differ diff --git a/res-xxhdpi/images/installing_security_text.png b/res-xxhdpi/images/installing_security_text.png index ecbdaac79..23fcaa441 100644 Binary files a/res-xxhdpi/images/installing_security_text.png and b/res-xxhdpi/images/installing_security_text.png differ diff --git a/res-xxhdpi/images/installing_text.png b/res-xxhdpi/images/installing_text.png index 93fbe73b5..fd8e58464 100644 Binary files a/res-xxhdpi/images/installing_text.png and b/res-xxhdpi/images/installing_text.png differ diff --git a/res-xxhdpi/images/no_command_text.png b/res-xxhdpi/images/no_command_text.png index 647e15460..23932d6b7 100644 Binary files a/res-xxhdpi/images/no_command_text.png and b/res-xxhdpi/images/no_command_text.png differ diff --git a/res-xxxhdpi/images/erasing_text.png b/res-xxxhdpi/images/erasing_text.png index 853c6b103..031529371 100644 Binary files a/res-xxxhdpi/images/erasing_text.png and b/res-xxxhdpi/images/erasing_text.png differ diff --git a/res-xxxhdpi/images/error_text.png b/res-xxxhdpi/images/error_text.png index fb18704bc..dba127f02 100644 Binary files a/res-xxxhdpi/images/error_text.png and b/res-xxxhdpi/images/error_text.png differ diff --git a/res-xxxhdpi/images/installing_security_text.png b/res-xxxhdpi/images/installing_security_text.png index 2e911b27c..6cdbef48e 100644 Binary files a/res-xxxhdpi/images/installing_security_text.png and b/res-xxxhdpi/images/installing_security_text.png differ diff --git a/res-xxxhdpi/images/installing_text.png b/res-xxxhdpi/images/installing_text.png index cf0f83304..32511a9c5 100644 Binary files a/res-xxxhdpi/images/installing_text.png and b/res-xxxhdpi/images/installing_text.png differ diff --git a/res-xxxhdpi/images/no_command_text.png b/res-xxxhdpi/images/no_command_text.png index 7b71b04f6..b6cdd7718 100644 Binary files a/res-xxxhdpi/images/no_command_text.png and b/res-xxxhdpi/images/no_command_text.png differ diff --git a/tools/recovery_l10n/README.md b/tools/recovery_l10n/README.md index bf41ff241..1554f6618 100644 --- a/tools/recovery_l10n/README.md +++ b/tools/recovery_l10n/README.md @@ -25,6 +25,8 @@ * "pngcrush -c 0 ..." converts "text-out.png" into a 1-channel image, which is accepted by Recovery. This also compresses the image file by ~60%. + * zopflipng could further compress the png files by ~10%, more details + in https://github.com/google/zopfli/blob/master/README.zopflipng * If you're using other png compression tools, make sure the final text image works by running graphic tests under the recovery mode. -- cgit v1.2.3