Commit b1881bbdcc6ea35342b342f863d3063949848d3c

Authored by Caio Almeida
1 parent 2d881500

Point 26 from Docs: Implement Shell Script to generate icons and updating the icons using it

ConfJuvApp/generate-icon.sh 0 → 100755
... ... @@ -0,0 +1,33 @@
  1 +#!/bin/bash
  2 +
  3 +# Original icon
  4 +img='www/img/avatar.png'
  5 +
  6 +# General icon
  7 +cp $img resources/
  8 +
  9 +# Icons for Android
  10 +convert $img -resize 72x72 'resources/android/icon/drawable-hdpi-icon.png'
  11 +convert $img -resize 36x36 'resources/android/icon/drawable-ldpi-icon.png'
  12 +convert $img -resize 48x48 'resources/android/icon/drawable-mdpi-icon.png'
  13 +convert $img -resize 96x96 'resources/android/icon/drawable-xhdpi-icon.png'
  14 +convert $img -resize 144x144 'resources/android/icon/drawable-xxhdpi-icon.png'
  15 +convert $img -resize 192x192 'resources/android/icon/drawable-xxxhdpi-icon.png'
  16 +
  17 +# Icons for iOS
  18 +convert $img -resize 114x114 'resources/ios/icon/icon@2x.png'
  19 +convert $img -resize 80x80 'resources/ios/icon/icon-40@2x.png'
  20 +convert $img -resize 40x40 'resources/ios/icon/icon-40.png'
  21 +convert $img -resize 100x100 'resources/ios/icon/icon-50@2x.png'
  22 +convert $img -resize 50x50 'resources/ios/icon/icon-50.png'
  23 +convert $img -resize 120x120 'resources/ios/icon/icon-60@2x.png'
  24 +convert $img -resize 180x180 'resources/ios/icon/icon-60@3x.png'
  25 +convert $img -resize 60x60 'resources/ios/icon/icon-60.png'
  26 +convert $img -resize 144x144 'resources/ios/icon/icon-72@2x.png'
  27 +convert $img -resize 72x72 'resources/ios/icon/icon-72.png'
  28 +convert $img -resize 152x152 'resources/ios/icon/icon-76@2x.png'
  29 +convert $img -resize 76x76 'resources/ios/icon/icon-76.png'
  30 +convert $img -resize 57x57 'resources/ios/icon/icon.png'
  31 +convert $img -resize 58x58 'resources/ios/icon/icon-small@2x.png'
  32 +convert $img -resize 87x87 'resources/ios/icon/icon-small@3x.png'
  33 +convert $img -resize 29x29 'resources/ios/icon/icon-small.png'
... ...
ConfJuvApp/resources/android/icon/drawable-hdpi-icon.png

2.49 KB | W: | H:

2.74 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/android/icon/drawable-ldpi-icon.png

1.11 KB | W: | H:

1.34 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/android/icon/drawable-mdpi-icon.png

1.43 KB | W: | H:

1.75 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/android/icon/drawable-xhdpi-icon.png

3.68 KB | W: | H:

3.78 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/android/icon/drawable-xxhdpi-icon.png

6.85 KB | W: | H:

6.01 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/android/icon/drawable-xxxhdpi-icon.png

10.7 KB | W: | H:

8.82 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/avatar.png 0 → 100755

8.05 KB

ConfJuvApp/resources/ios/icon/icon-40.png

1.18 KB | W: | H:

1.47 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-40@2x.png

2.83 KB | W: | H:

3.09 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-50.png

1.53 KB | W: | H:

1.85 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-50@2x.png

3.98 KB | W: | H:

3.95 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-60.png

1.94 KB | W: | H:

2.22 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-60@2x.png

5.23 KB | W: | H:

4.85 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-60@3x.png

9.56 KB | W: | H:

7.52 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-72.png

2.49 KB | W: | H:

2.74 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-72@2x.png

6.85 KB | W: | H:

6.01 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-76.png

2.68 KB | W: | H:

2.86 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-76@2x.png

7.35 KB | W: | H:

6.48 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-small.png

863 Bytes | W: | H:

1.08 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-small@2x.png

1.88 KB | W: | H:

2.13 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon-small@3x.png

3.18 KB | W: | H:

3.33 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon.png

1.79 KB | W: | H:

2.11 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
ConfJuvApp/resources/ios/icon/icon@2x.png

4.84 KB | W: | H:

4.58 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin