Snafuu with the icons script, fixed the path names to deploy new icons on command

This commit is contained in:
mmcw-dev 2017-12-29 23:21:00 -05:00
parent 2398285006
commit 16c8c3461b
17 changed files with 8 additions and 8 deletions

View File

@ -5,25 +5,25 @@ base=$1
#convert "$base" -resize '50x50' -unsharp 1x4 "res/icon/ios/Icon-Small-50.png" #convert "$base" -resize '50x50' -unsharp 1x4 "res/icon/ios/Icon-Small-50.png"
#convert "$base" -resize '57x57' -unsharp 1x4 "res/icon/ios/Icon.png" #convert "$base" -resize '57x57' -unsharp 1x4 "res/icon/ios/Icon.png"
#convert "$base" -resize '58x58' -unsharp 1x4 "res/icon/ios/Icon-Small@2x.png" #convert "$base" -resize '58x58' -unsharp 1x4 "res/icon/ios/Icon-Small@2x.png"
convert "$base" -resize '60x60' -unsharp 1x4 "res/icon/ios/Icon-60.png" convert "$base" -resize '60x60' -unsharp 1x4 "res/icon/ios/icon-60.png"
#convert "$base" -resize '72x72' -unsharp 1x4 "res/icon/ios/Icon-72.png" #convert "$base" -resize '72x72' -unsharp 1x4 "res/icon/ios/Icon-72.png"
#convert "$base" -resize '76x76' -unsharp 1x4 "res/icon/ios/Icon-76.png" #convert "$base" -resize '76x76' -unsharp 1x4 "res/icon/ios/Icon-76.png"
#convert "$base" -resize '80x80' -unsharp 1x4 "res/icon/ios/Icon-Small-40@2x.png" #convert "$base" -resize '80x80' -unsharp 1x4 "res/icon/ios/Icon-Small-40@2x.png"
#convert "$base" -resize '100x100' -unsharp 1x4 "res/icon/ios/Icon-Small-50@2x.png" #convert "$base" -resize '100x100' -unsharp 1x4 "res/icon/ios/Icon-Small-50@2x.png"
#convert "$base" -resize '114x114' -unsharp 1x4 "res/icon/ios/Icon@2x.png" #convert "$base" -resize '114x114' -unsharp 1x4 "res/icon/ios/Icon@2x.png"
convert "$base" -resize '120x120' -unsharp 1x4 "res/icon/ios/Icon-60@2x.png" convert "$base" -resize '120x120' -unsharp 1x4 "res/icon/ios/icon-60@2x.png"
#convert "$base" -resize '144x144' -unsharp 1x4 "res/icon/ios/Icon-72@2x.png" #convert "$base" -resize '144x144' -unsharp 1x4 "res/icon/ios/Icon-72@2x.png"
#convert "$base" -resize '152x152' -unsharp 1x4 "res/icon/ios/Icon-76@2x.png" #convert "$base" -resize '152x152' -unsharp 1x4 "res/icon/ios/Icon-76@2x.png"
convert "$base" -resize '180x180' -unsharp 1x4 "res/icon/ios/Icon-60@3x.png" convert "$base" -resize '180x180' -unsharp 1x4 "res/icon/ios/icon-60@3x.png"
#convert "$base" -resize '512x512' -unsharp 1x4 "res/icon/ios/iTunesArtwork" #convert "$base" -resize '512x512' -unsharp 1x4 "res/icon/ios/iTunesArtwork"
#convert "$base" -resize '1024x1024' -unsharp 1x4 "res/icon/ios/iTunesArtwork@2x" #convert "$base" -resize '1024x1024' -unsharp 1x4 "res/icon/ios/iTunesArtwork@2x"
#convert "$base" -resize '36x36' -unsharp 1x4 "res/icon/android/Icon-ldpi.png" #convert "$base" -resize '36x36' -unsharp 1x4 "res/icon/android/Icon-ldpi.png"
convert "$base" -resize '48x48' -unsharp 1x4 "res/icon/android/Icon-mdpi.png" convert "$base" -resize '48x48' -unsharp 1x4 "res/icon/android/mdpi.png"
convert "$base" -resize '72x72' -unsharp 1x4 "res/icon/android/Icon-hdpi.png" convert "$base" -resize '72x72' -unsharp 1x4 "res/icon/android/hdpi.png"
convert "$base" -resize '96x96' -unsharp 1x4 "res/icon/android/Icon-xhdpi.png" convert "$base" -resize '96x96' -unsharp 1x4 "res/icon/android/xhdpi.png"
convert "$base" -resize '144x144' -unsharp 1x4 "res/icon/android/Icon-xxhdpi.png" convert "$base" -resize '144x144' -unsharp 1x4 "res/icon/android/xxhdpi.png"
convert "$base" -resize '192x192' -unsharp 1x4 "res/icon/android/Icon-xxxhdpi.png" convert "$base" -resize '192x192' -unsharp 1x4 "res/icon/android/xxxhdpi.png"
cd res/icon/ios/ cd res/icon/ios/
find -type f -name "*.png" -exec optipng -o7 {} \; find -type f -name "*.png" -exec optipng -o7 {} \;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB