From af97de420e85cb4881ef873621cae51c35ab9485 Mon Sep 17 00:00:00 2001 From: Caio SBA Date: Mon, 28 Sep 2015 14:01:56 -0300 Subject: [PATCH] Ticket #53: Adding slash screens for Android and iOS and a Bash script to generate them automatically --- generate-splash.sh | 30 ++++++++++++++++++++++++++++++ resources/android/splash/drawable-land-hdpi-screen.png | Bin 13657 -> 0 bytes resources/android/splash/drawable-land-ldpi-screen.png | Bin 3740 -> 0 bytes resources/android/splash/drawable-land-mdpi-screen.png | Bin 7116 -> 0 bytes resources/android/splash/drawable-land-xhdpi-screen.png | Bin 39781 -> 0 bytes resources/android/splash/drawable-land-xxhdpi-screen.png | Bin 58987 -> 0 bytes resources/android/splash/drawable-land-xxxhdpi-screen.png | Bin 89363 -> 0 bytes resources/android/splash/drawable-port-hdpi-screen.png | Bin 13298 -> 0 bytes resources/android/splash/drawable-port-ldpi-screen.png | Bin 3628 -> 0 bytes resources/android/splash/drawable-port-mdpi-screen.png | Bin 7214 -> 0 bytes resources/android/splash/drawable-port-xhdpi-screen.png | Bin 38625 -> 0 bytes resources/android/splash/drawable-port-xxhdpi-screen.png | Bin 55504 -> 0 bytes resources/android/splash/drawable-port-xxxhdpi-screen.png | Bin 81831 -> 0 bytes resources/icon.png | Bin 60908 -> 0 bytes resources/ios/splash/Default-568h@2x~iphone.png | Bin 31992 -> 0 bytes resources/ios/splash/Default-667h.png | Bin 40444 -> 0 bytes resources/ios/splash/Default-736h.png | Bin 45098 -> 0 bytes resources/ios/splash/Default-Landscape-736h.png | Bin 44906 -> 0 bytes resources/ios/splash/Default-Landscape@2x~ipad.png | Bin 102289 -> 0 bytes resources/ios/splash/Default-Landscape~ipad.png | Bin 22655 -> 0 bytes resources/ios/splash/Default-Portrait@2x~ipad.png | Bin 99461 -> 0 bytes resources/ios/splash/Default-Portrait~ipad.png | Bin 22692 -> 0 bytes resources/ios/splash/Default@2x~iphone.png | Bin 18852 -> 0 bytes resources/ios/splash/Default~iphone.png | Bin 7214 -> 0 bytes resources/splash.png | Bin 62210 -> 0 bytes 25 files changed, 30 insertions(+), 0 deletions(-) create mode 100755 generate-splash.sh diff --git a/generate-splash.sh b/generate-splash.sh new file mode 100755 index 0000000..1fc3ee0 --- /dev/null +++ b/generate-splash.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +# Original splash +img='resources/splash.png' + +# Splash for Android +convert $img -resize 800x480 'resources/android/splash/drawable-land-hdpi-screen.png' +convert $img -resize 320x200 'resources/android/splash/drawable-land-ldpi-screen.png' +convert $img -resize 480x320 'resources/android/splash/drawable-land-mdpi-screen.png' +convert $img -resize 1280x720 'resources/android/splash/drawable-land-xhdpi-screen.png' +convert $img -resize 1600x960 'resources/android/splash/drawable-land-xxhdpi-screen.png' +convert $img -resize 1920x1280 'resources/android/splash/drawable-land-xxxhdpi-screen.png' +convert $img -resize 480x800 'resources/android/splash/drawable-port-hdpi-screen.png' +convert $img -resize 200x320 'resources/android/splash/drawable-port-ldpi-screen.png' +convert $img -resize 320x480 'resources/android/splash/drawable-port-mdpi-screen.png' +convert $img -resize 720x1280 'resources/android/splash/drawable-port-xhdpi-screen.png' +convert $img -resize 960x1600 'resources/android/splash/drawable-port-xxhdpi-screen.png' +convert $img -resize 1280x1920 'resources/android/splash/drawable-port-xxxhdpi-screen.png' + +# Splash for iOS +convert $img -resize 640x960 'resources/ios/splash/Default@2x~iphone.png' +convert $img -resize 640x1136 'resources/ios/splash/Default-568h@2x~iphone.png' +convert $img -resize 750x1334 'resources/ios/splash/Default-667h.png' +convert $img -resize 1242x2208 'resources/ios/splash/Default-736h.png' +convert $img -resize 320x480 'resources/ios/splash/Default~iphone.png' +convert $img -resize 2048x1536 'resources/ios/splash/Default-Landscape@2x~ipad.png' +convert $img -resize 2208x1242 'resources/ios/splash/Default-Landscape-736h.png' +convert $img -resize 1024x768 'resources/ios/splash/Default-Landscape~ipad.png' +convert $img -resize 1536x2048 'resources/ios/splash/Default-Portrait@2x~ipad.png' +convert $img -resize 768x1024 'resources/ios/splash/Default-Portrait~ipad.png' diff --git a/resources/android/splash/drawable-land-hdpi-screen.png b/resources/android/splash/drawable-land-hdpi-screen.png index 66b12fe..a613e73 100644 Binary files a/resources/android/splash/drawable-land-hdpi-screen.png and b/resources/android/splash/drawable-land-hdpi-screen.png differ diff --git a/resources/android/splash/drawable-land-ldpi-screen.png b/resources/android/splash/drawable-land-ldpi-screen.png index 7dceec7..a00b2c7 100644 Binary files a/resources/android/splash/drawable-land-ldpi-screen.png and b/resources/android/splash/drawable-land-ldpi-screen.png differ diff --git a/resources/android/splash/drawable-land-mdpi-screen.png b/resources/android/splash/drawable-land-mdpi-screen.png index 0dc2ba7..bc4b280 100644 Binary files a/resources/android/splash/drawable-land-mdpi-screen.png and b/resources/android/splash/drawable-land-mdpi-screen.png differ diff --git a/resources/android/splash/drawable-land-xhdpi-screen.png b/resources/android/splash/drawable-land-xhdpi-screen.png index 39ae00c..6daf948 100644 Binary files a/resources/android/splash/drawable-land-xhdpi-screen.png and b/resources/android/splash/drawable-land-xhdpi-screen.png differ diff --git a/resources/android/splash/drawable-land-xxhdpi-screen.png b/resources/android/splash/drawable-land-xxhdpi-screen.png index 3f591b1..c464465 100644 Binary files a/resources/android/splash/drawable-land-xxhdpi-screen.png and b/resources/android/splash/drawable-land-xxhdpi-screen.png differ diff --git a/resources/android/splash/drawable-land-xxxhdpi-screen.png b/resources/android/splash/drawable-land-xxxhdpi-screen.png index 253e6f1..635cdb9 100644 Binary files a/resources/android/splash/drawable-land-xxxhdpi-screen.png and b/resources/android/splash/drawable-land-xxxhdpi-screen.png differ diff --git a/resources/android/splash/drawable-port-hdpi-screen.png b/resources/android/splash/drawable-port-hdpi-screen.png index e0dbb62..a613e73 100644 Binary files a/resources/android/splash/drawable-port-hdpi-screen.png and b/resources/android/splash/drawable-port-hdpi-screen.png differ diff --git a/resources/android/splash/drawable-port-ldpi-screen.png b/resources/android/splash/drawable-port-ldpi-screen.png index 8e93c2d..a00b2c7 100644 Binary files a/resources/android/splash/drawable-port-ldpi-screen.png and b/resources/android/splash/drawable-port-ldpi-screen.png differ diff --git a/resources/android/splash/drawable-port-mdpi-screen.png b/resources/android/splash/drawable-port-mdpi-screen.png index 0aaad62..bc4b280 100644 Binary files a/resources/android/splash/drawable-port-mdpi-screen.png and b/resources/android/splash/drawable-port-mdpi-screen.png differ diff --git a/resources/android/splash/drawable-port-xhdpi-screen.png b/resources/android/splash/drawable-port-xhdpi-screen.png index 64c27f8..6daf948 100644 Binary files a/resources/android/splash/drawable-port-xhdpi-screen.png and b/resources/android/splash/drawable-port-xhdpi-screen.png differ diff --git a/resources/android/splash/drawable-port-xxhdpi-screen.png b/resources/android/splash/drawable-port-xxhdpi-screen.png index f605e6a..c464465 100644 Binary files a/resources/android/splash/drawable-port-xxhdpi-screen.png and b/resources/android/splash/drawable-port-xxhdpi-screen.png differ diff --git a/resources/android/splash/drawable-port-xxxhdpi-screen.png b/resources/android/splash/drawable-port-xxxhdpi-screen.png index 2b993cf..635cdb9 100644 Binary files a/resources/android/splash/drawable-port-xxxhdpi-screen.png and b/resources/android/splash/drawable-port-xxxhdpi-screen.png differ diff --git a/resources/icon.png b/resources/icon.png index c53d6ef..84f5f9d 100644 Binary files a/resources/icon.png and b/resources/icon.png differ diff --git a/resources/ios/splash/Default-568h@2x~iphone.png b/resources/ios/splash/Default-568h@2x~iphone.png index d2128a6..d355f06 100644 Binary files a/resources/ios/splash/Default-568h@2x~iphone.png and b/resources/ios/splash/Default-568h@2x~iphone.png differ diff --git a/resources/ios/splash/Default-667h.png b/resources/ios/splash/Default-667h.png index fc23e64..c851f15 100644 Binary files a/resources/ios/splash/Default-667h.png and b/resources/ios/splash/Default-667h.png differ diff --git a/resources/ios/splash/Default-736h.png b/resources/ios/splash/Default-736h.png index 71b16ca..e89320d 100644 Binary files a/resources/ios/splash/Default-736h.png and b/resources/ios/splash/Default-736h.png differ diff --git a/resources/ios/splash/Default-Landscape-736h.png b/resources/ios/splash/Default-Landscape-736h.png index aaff74a..e89320d 100644 Binary files a/resources/ios/splash/Default-Landscape-736h.png and b/resources/ios/splash/Default-Landscape-736h.png differ diff --git a/resources/ios/splash/Default-Landscape@2x~ipad.png b/resources/ios/splash/Default-Landscape@2x~ipad.png index 19770a2..f24cfd9 100644 Binary files a/resources/ios/splash/Default-Landscape@2x~ipad.png and b/resources/ios/splash/Default-Landscape@2x~ipad.png differ diff --git a/resources/ios/splash/Default-Landscape~ipad.png b/resources/ios/splash/Default-Landscape~ipad.png index 6fe8925..3540a3c 100644 Binary files a/resources/ios/splash/Default-Landscape~ipad.png and b/resources/ios/splash/Default-Landscape~ipad.png differ diff --git a/resources/ios/splash/Default-Portrait@2x~ipad.png b/resources/ios/splash/Default-Portrait@2x~ipad.png index 3d06d86..f24cfd9 100644 Binary files a/resources/ios/splash/Default-Portrait@2x~ipad.png and b/resources/ios/splash/Default-Portrait@2x~ipad.png differ diff --git a/resources/ios/splash/Default-Portrait~ipad.png b/resources/ios/splash/Default-Portrait~ipad.png index 53ad4c4..3540a3c 100644 Binary files a/resources/ios/splash/Default-Portrait~ipad.png and b/resources/ios/splash/Default-Portrait~ipad.png differ diff --git a/resources/ios/splash/Default@2x~iphone.png b/resources/ios/splash/Default@2x~iphone.png index 6a13316..d355f06 100644 Binary files a/resources/ios/splash/Default@2x~iphone.png and b/resources/ios/splash/Default@2x~iphone.png differ diff --git a/resources/ios/splash/Default~iphone.png b/resources/ios/splash/Default~iphone.png index 0aaad62..bc4b280 100644 Binary files a/resources/ios/splash/Default~iphone.png and b/resources/ios/splash/Default~iphone.png differ diff --git a/resources/splash.png b/resources/splash.png index cbddba0..7b150cb 100644 Binary files a/resources/splash.png and b/resources/splash.png differ -- libgit2 0.21.2