commit | ed55069cc08688168964e2dba4f718794b1b8f73 | [log] [tgz] |
---|---|---|
author | Humberto Borba <humberos@gmail.com> | Fri Mar 27 11:06:36 2015 -0300 |
committer | Humberto Borba <humberos@gmail.com> | Fri Mar 27 11:06:43 2015 -0300 |
tree | aacb811d73ba4b39704eba0006c26b52bdf12797 | |
parent | f562a44c097aac13d1ec991a03d393d14ef0493e [diff] |
vendor: bootanimation: reduce size reduce bootanimation size by decreasing image quality. set the quality value to 50 for all resolutions. Signed-off-by: Humberto Borba <humberos@gmail.com> Change-Id: Ic9538859526e0fcfdb319f64884f477313c0a6fd
diff --git a/prebuilt/bootanimation/res/1080x720.zip b/prebuilt/bootanimation/res/1080x720.zip index cc12117..7e22741 100644 --- a/prebuilt/bootanimation/res/1080x720.zip +++ b/prebuilt/bootanimation/res/1080x720.zip Binary files differ
diff --git a/prebuilt/bootanimation/res/1440x960.zip b/prebuilt/bootanimation/res/1440x960.zip index d3dc477..752f8eb 100644 --- a/prebuilt/bootanimation/res/1440x960.zip +++ b/prebuilt/bootanimation/res/1440x960.zip Binary files differ
diff --git a/prebuilt/bootanimation/res/2560x1440.zip b/prebuilt/bootanimation/res/2560x1440.zip index 8f16834..77c7754 100644 --- a/prebuilt/bootanimation/res/2560x1440.zip +++ b/prebuilt/bootanimation/res/2560x1440.zip Binary files differ
diff --git a/prebuilt/bootanimation/res/360x240.zip b/prebuilt/bootanimation/res/360x240.zip index c21086f..7f8e828 100644 --- a/prebuilt/bootanimation/res/360x240.zip +++ b/prebuilt/bootanimation/res/360x240.zip Binary files differ
diff --git a/prebuilt/bootanimation/res/420x280.zip b/prebuilt/bootanimation/res/420x280.zip index 09848a0..5b154c8 100644 --- a/prebuilt/bootanimation/res/420x280.zip +++ b/prebuilt/bootanimation/res/420x280.zip Binary files differ
diff --git a/prebuilt/bootanimation/res/480x320.zip b/prebuilt/bootanimation/res/480x320.zip index 856e777..c339a8c 100644 --- a/prebuilt/bootanimation/res/480x320.zip +++ b/prebuilt/bootanimation/res/480x320.zip Binary files differ
diff --git a/prebuilt/bootanimation/res/720x480.zip b/prebuilt/bootanimation/res/720x480.zip index ed33459..4231848 100644 --- a/prebuilt/bootanimation/res/720x480.zip +++ b/prebuilt/bootanimation/res/720x480.zip Binary files differ
diff --git a/prebuilt/bootanimation/res/840x560.zip b/prebuilt/bootanimation/res/840x560.zip index 2290646..057a2d2 100644 --- a/prebuilt/bootanimation/res/840x560.zip +++ b/prebuilt/bootanimation/res/840x560.zip Binary files differ
diff --git a/prebuilt/bootanimation/res/960x640.zip b/prebuilt/bootanimation/res/960x640.zip index 3110565..8930225 100644 --- a/prebuilt/bootanimation/res/960x640.zip +++ b/prebuilt/bootanimation/res/960x640.zip Binary files differ
diff --git a/prebuilt/bootanimation/res/generate-packages.sh b/prebuilt/bootanimation/res/generate-packages.sh index 8448105..db0b626 100755 --- a/prebuilt/bootanimation/res/generate-packages.sh +++ b/prebuilt/bootanimation/res/generate-packages.sh
@@ -48,6 +48,9 @@ EOF } +# image quality +quality=50; + # reading images for i in ${RESOLUTIONS}; do @@ -68,17 +71,6 @@ echo "Rewriting desc.txt..."; rewrite_desc "${i}" -# set image quality -# add an aggressive value for low resolutions - case "${i}" in - "360x240"|"420x280"|"480x320") - quality=80; - ;; - *) - quality=90; - ;; - esac - echo "Resizing images..."; for j in Part*/*.jpg; do convert_image "${j}" "${i}" $quality;