commit | 700484dbcc5511445b132960fd7f0c8b0c318dc1 | [log] [tgz] |
---|---|---|
author | Andreas Blaesius <skate4life@gmx.de> | Tue Apr 07 11:30:04 2015 +0200 |
committer | Andreas Blaesius <skate4life@gmx.de> | Tue Apr 07 20:09:59 2015 +0200 |
tree | 1b6dc174c1bfb098f70b4f4db21a8d386c76e13d | |
parent | ffe07b85ebc8613b8f93e1f3fa397c2abde064e2 [diff] |
Fix generate-half-res-anims.sh and halfres bootanimation.zips bootanimation.zip contains PNG files and not JPG Some zips aren't resized and use original resolution instead half resolution, fix it too. Change-Id: Ic12f93dc2a18f7ca9c9c7bff6b34dc0821bbfb4c
diff --git a/prebuilt/common/bootanimation/halfres/240.zip b/prebuilt/common/bootanimation/halfres/240.zip index 8ae2a4d..59735d0 100644 --- a/prebuilt/common/bootanimation/halfres/240.zip +++ b/prebuilt/common/bootanimation/halfres/240.zip Binary files differ
diff --git a/prebuilt/common/bootanimation/halfres/320.zip b/prebuilt/common/bootanimation/halfres/320.zip index 2ec2f73..7497da0 100644 --- a/prebuilt/common/bootanimation/halfres/320.zip +++ b/prebuilt/common/bootanimation/halfres/320.zip Binary files differ
diff --git a/prebuilt/common/bootanimation/halfres/360.zip b/prebuilt/common/bootanimation/halfres/360.zip index 31ea394..f1247f7 100644 --- a/prebuilt/common/bootanimation/halfres/360.zip +++ b/prebuilt/common/bootanimation/halfres/360.zip Binary files differ
diff --git a/prebuilt/common/bootanimation/halfres/540.zip b/prebuilt/common/bootanimation/halfres/540.zip index 0e77fb5..35b631c 100644 --- a/prebuilt/common/bootanimation/halfres/540.zip +++ b/prebuilt/common/bootanimation/halfres/540.zip Binary files differ
diff --git a/prebuilt/common/bootanimation/halfres/600.zip b/prebuilt/common/bootanimation/halfres/600.zip index 82f3d71..ec352f7 100644 --- a/prebuilt/common/bootanimation/halfres/600.zip +++ b/prebuilt/common/bootanimation/halfres/600.zip Binary files differ
diff --git a/prebuilt/common/bootanimation/halfres/768.zip b/prebuilt/common/bootanimation/halfres/768.zip index 131c7d2..f87e834 100644 --- a/prebuilt/common/bootanimation/halfres/768.zip +++ b/prebuilt/common/bootanimation/halfres/768.zip Binary files differ
diff --git a/prebuilt/common/bootanimation/halfres/800.zip b/prebuilt/common/bootanimation/halfres/800.zip index 1710801..051db72 100644 --- a/prebuilt/common/bootanimation/halfres/800.zip +++ b/prebuilt/common/bootanimation/halfres/800.zip Binary files differ
diff --git a/prebuilt/common/bootanimation/halfres/generate-half-res-anims.sh b/prebuilt/common/bootanimation/halfres/generate-half-res-anims.sh index e50ec60..70f6fad 100755 --- a/prebuilt/common/bootanimation/halfres/generate-half-res-anims.sh +++ b/prebuilt/common/bootanimation/halfres/generate-half-res-anims.sh
@@ -14,9 +14,9 @@ unzip ../../$i.zip desc.txt else unzip ../../$i.zip - for j in */*.jpg; do - convert $j -resize 50% tmp.jpg - mv tmp.jpg $j + for j in */*.[pP][nN][gG]; do + convert $j -resize 50% tmp.png + mv tmp.png $j done fi zip -r0 ../$i.zip .