瀏覽代碼

Splash screen and icon generation

master
kj1352 4 年之前
父節點
當前提交
d669c06c1a
共有 71 個文件被更改,包括 505 次插入72 次删除
  1. +5
    -1
      config.xml
  2. +497
    -68
      package-lock.json
  3. +3
    -3
      package.json
  4. 二進制
      resources/android/icon/drawable-hdpi-icon.png
  5. 二進制
      resources/android/icon/drawable-ldpi-icon.png
  6. 二進制
      resources/android/icon/drawable-mdpi-icon.png
  7. 二進制
      resources/android/icon/drawable-xhdpi-icon.png
  8. 二進制
      resources/android/icon/drawable-xxhdpi-icon.png
  9. 二進制
      resources/android/icon/drawable-xxxhdpi-icon.png
  10. 二進制
      resources/android/splash/drawable-land-hdpi-screen.png
  11. 二進制
      resources/android/splash/drawable-land-ldpi-screen.png
  12. 二進制
      resources/android/splash/drawable-land-mdpi-screen.png
  13. 二進制
      resources/android/splash/drawable-land-xhdpi-screen.png
  14. 二進制
      resources/android/splash/drawable-land-xxhdpi-screen.png
  15. 二進制
      resources/android/splash/drawable-land-xxxhdpi-screen.png
  16. 二進制
      resources/android/splash/drawable-port-hdpi-screen.png
  17. 二進制
      resources/android/splash/drawable-port-ldpi-screen.png
  18. 二進制
      resources/android/splash/drawable-port-mdpi-screen.png
  19. 二進制
      resources/android/splash/drawable-port-xhdpi-screen.png
  20. 二進制
      resources/android/splash/drawable-port-xxhdpi-screen.png
  21. 二進制
      resources/android/splash/drawable-port-xxxhdpi-screen.png
  22. 二進制
      resources/icon-1.png
  23. 二進制
      resources/icon.png
  24. 二進制
      resources/ios/icon/icon-1024.png
  25. 二進制
      resources/ios/icon/icon-108@2x.png
  26. 二進制
      resources/ios/icon/icon-20.png
  27. 二進制
      resources/ios/icon/icon-20@2x.png
  28. 二進制
      resources/ios/icon/icon-20@3x.png
  29. 二進制
      resources/ios/icon/icon-24@2x.png
  30. 二進制
      resources/ios/icon/icon-27.5@2x.png
  31. 二進制
      resources/ios/icon/icon-29.png
  32. 二進制
      resources/ios/icon/icon-29@2x.png
  33. 二進制
      resources/ios/icon/icon-29@3x.png
  34. 二進制
      resources/ios/icon/icon-40.png
  35. 二進制
      resources/ios/icon/icon-40@2x.png
  36. 二進制
      resources/ios/icon/icon-40@3x.png
  37. 二進制
      resources/ios/icon/icon-44@2x.png
  38. 二進制
      resources/ios/icon/icon-50.png
  39. 二進制
      resources/ios/icon/icon-50@2x.png
  40. 二進制
      resources/ios/icon/icon-60.png
  41. 二進制
      resources/ios/icon/icon-60@2x.png
  42. 二進制
      resources/ios/icon/icon-60@3x.png
  43. 二進制
      resources/ios/icon/icon-72.png
  44. 二進制
      resources/ios/icon/icon-72@2x.png
  45. 二進制
      resources/ios/icon/icon-76.png
  46. 二進制
      resources/ios/icon/icon-76@2x.png
  47. 二進制
      resources/ios/icon/icon-83.5@2x.png
  48. 二進制
      resources/ios/icon/icon-86@2x.png
  49. 二進制
      resources/ios/icon/icon-98@2x.png
  50. 二進制
      resources/ios/icon/icon.png
  51. 二進制
      resources/ios/icon/icon@2x.png
  52. 二進制
      resources/ios/splash/Default-1792h~iphone.png
  53. 二進制
      resources/ios/splash/Default-2436h.png
  54. 二進制
      resources/ios/splash/Default-2688h~iphone.png
  55. 二進制
      resources/ios/splash/Default-568h@2x~iphone.png
  56. 二進制
      resources/ios/splash/Default-667h.png
  57. 二進制
      resources/ios/splash/Default-736h.png
  58. 二進制
      resources/ios/splash/Default-Landscape-1792h~iphone.png
  59. 二進制
      resources/ios/splash/Default-Landscape-2436h.png
  60. 二進制
      resources/ios/splash/Default-Landscape-2688h~iphone.png
  61. 二進制
      resources/ios/splash/Default-Landscape-736h.png
  62. 二進制
      resources/ios/splash/Default-Landscape@2x~ipad.png
  63. 二進制
      resources/ios/splash/Default-Landscape@~ipadpro.png
  64. 二進制
      resources/ios/splash/Default-Landscape~ipad.png
  65. 二進制
      resources/ios/splash/Default-Portrait@2x~ipad.png
  66. 二進制
      resources/ios/splash/Default-Portrait@~ipadpro.png
  67. 二進制
      resources/ios/splash/Default-Portrait~ipad.png
  68. 二進制
      resources/ios/splash/Default@2x~iphone.png
  69. 二進制
      resources/ios/splash/Default@2x~universal~anyany.png
  70. 二進制
      resources/ios/splash/Default~iphone.png
  71. 二進制
      resources/splash-2.png

+ 5
- 1
config.xml 查看文件

@@ -91,8 +91,12 @@
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
<splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" />
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
<icon height="216" src="resources/ios/icon/icon-108@2x.png" width="216" />
<splash height="2688" src="resources/ios/splash/Default-2688h~iphone.png" width="1242" />
<splash height="1242" src="resources/ios/splash/Default-Landscape-2688h~iphone.png" width="2688" />
<splash height="1792" src="resources/ios/splash/Default-1792h~iphone.png" width="828" />
<splash height="828" src="resources/ios/splash/Default-Landscape-1792h~iphone.png" width="1792" />
</platform>
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
<plugin name="cordova-plugin-statusbar" spec="2.4.2" />
<plugin name="cordova-plugin-device" spec="2.0.2" />
<plugin name="cordova-plugin-splashscreen" spec="5.0.2" />


+ 497
- 68
package-lock.json
文件差異過大導致無法顯示
查看文件


+ 3
- 3
package.json 查看文件

@@ -24,9 +24,11 @@
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^5.0.0",
"cordova-res": "^0.15.2",
"faker": "^5.1.0",
"moment": "^2.29.1",
"rxjs": "~6.5.5",
"sharp": "^0.27.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.3"
},
@@ -47,7 +49,6 @@
"cordova-plugin-ionic-webview": "^4.2.1",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.3",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
@@ -63,7 +64,6 @@
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-device": {},
"cordova-plugin-splashscreen": {},
@@ -76,4 +76,4 @@
"android"
]
}
}
}

二進制
resources/android/icon/drawable-hdpi-icon.png 查看文件

Before After
Width: 72  |  Height: 72  |  Size: 4.2 KiB Width: 72  |  Height: 72  |  Size: 2.5 KiB

二進制
resources/android/icon/drawable-ldpi-icon.png 查看文件

Before After
Width: 36  |  Height: 36  |  Size: 1.6 KiB Width: 36  |  Height: 36  |  Size: 945 B

二進制
resources/android/icon/drawable-mdpi-icon.png 查看文件

Before After
Width: 48  |  Height: 48  |  Size: 2.5 KiB Width: 48  |  Height: 48  |  Size: 1.4 KiB

二進制
resources/android/icon/drawable-xhdpi-icon.png 查看文件

Before After
Width: 96  |  Height: 96  |  Size: 6.4 KiB Width: 96  |  Height: 96  |  Size: 4.0 KiB

二進制
resources/android/icon/drawable-xxhdpi-icon.png 查看文件

Before After
Width: 144  |  Height: 144  |  Size: 11 KiB Width: 144  |  Height: 144  |  Size: 7.7 KiB

二進制
resources/android/icon/drawable-xxxhdpi-icon.png 查看文件

Before After
Width: 192  |  Height: 192  |  Size: 14 KiB Width: 192  |  Height: 192  |  Size: 12 KiB

二進制
resources/android/splash/drawable-land-hdpi-screen.png 查看文件

Before After
Width: 800  |  Height: 480  |  Size: 27 KiB Width: 800  |  Height: 480  |  Size: 27 KiB

二進制
resources/android/splash/drawable-land-ldpi-screen.png 查看文件

Before After
Width: 320  |  Height: 240  |  Size: 8.3 KiB Width: 320  |  Height: 240  |  Size: 8.2 KiB

二進制
resources/android/splash/drawable-land-mdpi-screen.png 查看文件

Before After
Width: 480  |  Height: 320  |  Size: 14 KiB Width: 480  |  Height: 320  |  Size: 14 KiB

二進制
resources/android/splash/drawable-land-xhdpi-screen.png 查看文件

Before After
Width: 1280  |  Height: 720  |  Size: 47 KiB Width: 1280  |  Height: 720  |  Size: 48 KiB

二進制
resources/android/splash/drawable-land-xxhdpi-screen.png 查看文件

Before After
Width: 1600  |  Height: 960  |  Size: 79 KiB Width: 1600  |  Height: 960  |  Size: 77 KiB

二進制
resources/android/splash/drawable-land-xxxhdpi-screen.png 查看文件

Before After
Width: 1920  |  Height: 1280  |  Size: 111 KiB Width: 1920  |  Height: 1280  |  Size: 111 KiB

二進制
resources/android/splash/drawable-port-hdpi-screen.png 查看文件

Before After
Width: 480  |  Height: 800  |  Size: 26 KiB Width: 480  |  Height: 800  |  Size: 26 KiB

二進制
resources/android/splash/drawable-port-ldpi-screen.png 查看文件

Before After
Width: 240  |  Height: 320  |  Size: 8.0 KiB Width: 240  |  Height: 320  |  Size: 7.9 KiB

二進制
resources/android/splash/drawable-port-mdpi-screen.png 查看文件

Before After
Width: 320  |  Height: 480  |  Size: 14 KiB Width: 320  |  Height: 480  |  Size: 13 KiB

二進制
resources/android/splash/drawable-port-xhdpi-screen.png 查看文件

Before After
Width: 720  |  Height: 1280  |  Size: 47 KiB Width: 720  |  Height: 1280  |  Size: 47 KiB

二進制
resources/android/splash/drawable-port-xxhdpi-screen.png 查看文件

Before After
Width: 960  |  Height: 1600  |  Size: 69 KiB Width: 960  |  Height: 1600  |  Size: 69 KiB

二進制
resources/android/splash/drawable-port-xxxhdpi-screen.png 查看文件

Before After
Width: 1280  |  Height: 1920  |  Size: 99 KiB Width: 1280  |  Height: 1920  |  Size: 98 KiB

二進制
resources/icon-1.png 查看文件

Before After
Width: 1024  |  Height: 1024  |  Size: 59 KiB

二進制
resources/icon.png 查看文件

Before After
Width: 1024  |  Height: 1024  |  Size: 59 KiB Width: 1024  |  Height: 1024  |  Size: 144 KiB

二進制
resources/ios/icon/icon-1024.png 查看文件

Before After
Width: 1024  |  Height: 1024  |  Size: 60 KiB Width: 1024  |  Height: 1024  |  Size: 134 KiB

二進制
resources/ios/icon/icon-108@2x.png 查看文件

Before After
Width: 216  |  Height: 216  |  Size: 14 KiB

二進制
resources/ios/icon/icon-20.png 查看文件

Before After
Width: 20  |  Height: 20  |  Size: 686 B Width: 20  |  Height: 20  |  Size: 382 B

二進制
resources/ios/icon/icon-20@2x.png 查看文件

Before After
Width: 40  |  Height: 40  |  Size: 1.9 KiB Width: 40  |  Height: 40  |  Size: 957 B

二進制
resources/ios/icon/icon-20@3x.png 查看文件

Before After
Width: 60  |  Height: 60  |  Size: 3.3 KiB Width: 60  |  Height: 60  |  Size: 1.7 KiB

二進制
resources/ios/icon/icon-24@2x.png 查看文件

Before After
Width: 48  |  Height: 48  |  Size: 2.5 KiB Width: 48  |  Height: 48  |  Size: 1.2 KiB

二進制
resources/ios/icon/icon-27.5@2x.png 查看文件

Before After
Width: 55  |  Height: 55  |  Size: 3.0 KiB Width: 55  |  Height: 55  |  Size: 1.5 KiB

二進制
resources/ios/icon/icon-29.png 查看文件

Before After
Width: 29  |  Height: 29  |  Size: 1.2 KiB Width: 29  |  Height: 29  |  Size: 613 B

二進制
resources/ios/icon/icon-29@2x.png 查看文件

Before After
Width: 58  |  Height: 58  |  Size: 3.3 KiB Width: 58  |  Height: 58  |  Size: 1.6 KiB

二進制
resources/ios/icon/icon-29@3x.png 查看文件

Before After
Width: 87  |  Height: 87  |  Size: 5.8 KiB Width: 87  |  Height: 87  |  Size: 3.1 KiB

二進制
resources/ios/icon/icon-40.png 查看文件

Before After
Width: 40  |  Height: 40  |  Size: 1.9 KiB Width: 40  |  Height: 40  |  Size: 957 B

二進制
resources/ios/icon/icon-40@2x.png 查看文件

Before After
Width: 80  |  Height: 80  |  Size: 5.1 KiB Width: 80  |  Height: 80  |  Size: 2.7 KiB

二進制
resources/ios/icon/icon-40@3x.png 查看文件

Before After
Width: 120  |  Height: 120  |  Size: 8.1 KiB Width: 120  |  Height: 120  |  Size: 5.2 KiB

二進制
resources/ios/icon/icon-44@2x.png 查看文件

Before After
Width: 88  |  Height: 88  |  Size: 5.7 KiB Width: 88  |  Height: 88  |  Size: 3.1 KiB

二進制
resources/ios/icon/icon-50.png 查看文件

Before After
Width: 50  |  Height: 50  |  Size: 2.7 KiB Width: 50  |  Height: 50  |  Size: 1.3 KiB

二進制
resources/ios/icon/icon-50@2x.png 查看文件

Before After
Width: 100  |  Height: 100  |  Size: 6.7 KiB Width: 100  |  Height: 100  |  Size: 3.9 KiB

二進制
resources/ios/icon/icon-60.png 查看文件

Before After
Width: 60  |  Height: 60  |  Size: 3.3 KiB Width: 60  |  Height: 60  |  Size: 1.7 KiB

二進制
resources/ios/icon/icon-60@2x.png 查看文件

Before After
Width: 120  |  Height: 120  |  Size: 8.1 KiB Width: 120  |  Height: 120  |  Size: 5.2 KiB

二進制
resources/ios/icon/icon-60@3x.png 查看文件

Before After
Width: 180  |  Height: 180  |  Size: 14 KiB Width: 180  |  Height: 180  |  Size: 10 KiB

二進制
resources/ios/icon/icon-72.png 查看文件

Before After
Width: 72  |  Height: 72  |  Size: 4.2 KiB Width: 72  |  Height: 72  |  Size: 2.3 KiB

二進制
resources/ios/icon/icon-72@2x.png 查看文件

Before After
Width: 144  |  Height: 144  |  Size: 11 KiB Width: 144  |  Height: 144  |  Size: 7.1 KiB

二進制
resources/ios/icon/icon-76.png 查看文件

Before After
Width: 76  |  Height: 76  |  Size: 4.8 KiB Width: 76  |  Height: 76  |  Size: 2.5 KiB

二進制
resources/ios/icon/icon-76@2x.png 查看文件

Before After
Width: 152  |  Height: 152  |  Size: 11 KiB Width: 152  |  Height: 152  |  Size: 7.7 KiB

二進制
resources/ios/icon/icon-83.5@2x.png 查看文件

Before After
Width: 167  |  Height: 167  |  Size: 12 KiB Width: 167  |  Height: 167  |  Size: 9.0 KiB

二進制
resources/ios/icon/icon-86@2x.png 查看文件

Before After
Width: 172  |  Height: 172  |  Size: 13 KiB Width: 172  |  Height: 172  |  Size: 9.5 KiB

二進制
resources/ios/icon/icon-98@2x.png 查看文件

Before After
Width: 196  |  Height: 196  |  Size: 16 KiB Width: 196  |  Height: 196  |  Size: 12 KiB

二進制
resources/ios/icon/icon.png 查看文件

Before After
Width: 57  |  Height: 57  |  Size: 3.2 KiB Width: 57  |  Height: 57  |  Size: 1.5 KiB

二進制
resources/ios/icon/icon@2x.png 查看文件

Before After
Width: 114  |  Height: 114  |  Size: 8.0 KiB Width: 114  |  Height: 114  |  Size: 4.8 KiB

二進制
resources/ios/splash/Default-1792h~iphone.png 查看文件

Before After
Width: 828  |  Height: 1792  |  Size: 65 KiB

二進制
resources/ios/splash/Default-2436h.png 查看文件

Before After
Width: 1125  |  Height: 2436  |  Size: 104 KiB Width: 1125  |  Height: 2436  |  Size: 104 KiB

二進制
resources/ios/splash/Default-2688h~iphone.png 查看文件

Before After
Width: 1242  |  Height: 2688  |  Size: 114 KiB

二進制
resources/ios/splash/Default-568h@2x~iphone.png 查看文件

Before After
Width: 640  |  Height: 1136  |  Size: 39 KiB Width: 640  |  Height: 1136  |  Size: 39 KiB

二進制
resources/ios/splash/Default-667h.png 查看文件

Before After
Width: 750  |  Height: 1334  |  Size: 50 KiB Width: 750  |  Height: 1334  |  Size: 50 KiB

二進制
resources/ios/splash/Default-736h.png 查看文件

Before After
Width: 1242  |  Height: 2208  |  Size: 106 KiB Width: 1242  |  Height: 2208  |  Size: 104 KiB

二進制
resources/ios/splash/Default-Landscape-1792h~iphone.png 查看文件

Before After
Width: 1792  |  Height: 828  |  Size: 74 KiB

二進制
resources/ios/splash/Default-Landscape-2436h.png 查看文件

Before After
Width: 2436  |  Height: 1125  |  Size: 113 KiB Width: 2436  |  Height: 1125  |  Size: 113 KiB

二進制
resources/ios/splash/Default-Landscape-2688h~iphone.png 查看文件

Before After
Width: 2688  |  Height: 1242  |  Size: 120 KiB

二進制
resources/ios/splash/Default-Landscape-736h.png 查看文件

Before After
Width: 2208  |  Height: 1242  |  Size: 117 KiB Width: 2208  |  Height: 1242  |  Size: 120 KiB

二進制
resources/ios/splash/Default-Landscape@2x~ipad.png 查看文件

Before After
Width: 2048  |  Height: 1536  |  Size: 133 KiB Width: 2048  |  Height: 1536  |  Size: 126 KiB

二進制
resources/ios/splash/Default-Landscape@~ipadpro.png 查看文件

Before After
Width: 2732  |  Height: 2048  |  Size: 93 KiB Width: 2732  |  Height: 2048  |  Size: 93 KiB

二進制
resources/ios/splash/Default-Landscape~ipad.png 查看文件

Before After
Width: 1024  |  Height: 768  |  Size: 43 KiB Width: 1024  |  Height: 768  |  Size: 44 KiB

二進制
resources/ios/splash/Default-Portrait@2x~ipad.png 查看文件

Before After
Width: 1536  |  Height: 2048  |  Size: 147 KiB Width: 1536  |  Height: 2048  |  Size: 130 KiB

二進制
resources/ios/splash/Default-Portrait@~ipadpro.png 查看文件

Before After
Width: 2048  |  Height: 2732  |  Size: 99 KiB Width: 2048  |  Height: 2732  |  Size: 99 KiB

二進制
resources/ios/splash/Default-Portrait~ipad.png 查看文件

Before After
Width: 768  |  Height: 1024  |  Size: 43 KiB Width: 768  |  Height: 1024  |  Size: 43 KiB

二進制
resources/ios/splash/Default@2x~iphone.png 查看文件

Before After
Width: 640  |  Height: 960  |  Size: 36 KiB Width: 640  |  Height: 960  |  Size: 35 KiB

二進制
resources/ios/splash/Default@2x~universal~anyany.png 查看文件

Before After
Width: 2732  |  Height: 2732  |  Size: 120 KiB Width: 2732  |  Height: 2732  |  Size: 120 KiB

二進制
resources/ios/splash/Default~iphone.png 查看文件

Before After
Width: 320  |  Height: 480  |  Size: 14 KiB Width: 320  |  Height: 480  |  Size: 13 KiB

二進制
resources/splash-2.png 查看文件

Before After
Width: 2732  |  Height: 2732  |  Size: 77 KiB

Loading…
取消
儲存