2
0

Round-rect Mac icon.

This commit is contained in:
Maarten Billemont 2014-08-24 00:11:01 -04:00
parent eb4ea08a8b
commit b3b7858c1d
17 changed files with 24 additions and 23 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 797 B

After

Width:  |  Height:  |  Size: 921 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 595 KiB

After

Width:  |  Height:  |  Size: 588 KiB

View File

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB

View File

Before

Width:  |  Height:  |  Size: 594 KiB

After

Width:  |  Height:  |  Size: 594 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -17,7 +17,7 @@
<string>Inconsolata</string>
</array>
<key>length</key>
<integer>76976</integer>
<integer>101442</integer>
<key>version</key>
<integer>37</integer>
</dict>

View File

@ -16,34 +16,35 @@ downsize() {
inf "Converting appiconsets"
declare -A icons=(
["Icon-60@2x.png"]=120
["Icon-40@2x.png"]=80
["Icon-40~ipad.png"]=40
["Icon-40~ipad@2x.png"]=80
["Icon-Small@2x.png"]=58
["Icon-Small~ipad.png"]=29
["Icon-Small~ipad@2x.png"]=58
["Icon-76~ipad.png"]=76
["Icon-76~ipad@2x.png"]=152
["icon_512x512.png"]=512
["icon_512x512@2x.png"]=1024
["icon_256x256@2x.png"]=512
["icon_256x256.png"]=256
["icon_128x128@2x.png"]=256
["icon_128x128.png"]=128
["icon_32x32@2x.png"]=64
["icon_32x32.png"]=32
["icon_16x16@2x.png"]=32
["icon_16x16.png"]=16
["ios-Icon-60@2x.png"]=120
["ios-Icon-40@2x.png"]=80
["ios-Icon-40~ipad.png"]=40
["ios-Icon-40~ipad@2x.png"]=80
["ios-Icon-Small@2x.png"]=58
["ios-Icon-Small~ipad.png"]=29
["ios-Icon-Small~ipad@2x.png"]=58
["ios-Icon-76~ipad.png"]=76
["ios-Icon-76~ipad@2x.png"]=152
["mac-icon_512x512.png"]=512
["mac-icon_512x512@2x.png"]=1024
["mac-icon_256x256@2x.png"]=512
["mac-icon_256x256.png"]=256
["mac-icon_128x128@2x.png"]=256
["mac-icon_128x128.png"]=128
["mac-icon_32x32@2x.png"]=64
["mac-icon_32x32.png"]=32
["mac-icon_16x16@2x.png"]=32
["mac-icon_16x16.png"]=16
)
for name in "${!icons[@]}"; do
size=${icons[$name]}
file=Images.xcassets/AppIcon.appiconset/$name
source=${name%%-*}-icon@2x.png
file=Images.xcassets/AppIcon.appiconset/${name#*-}
echo "$PWD/$file"
if [[ "iTunesArtwork@2x.png" -nt $file ]]; then
if [[ $source -nt $file ]]; then
pinf "$file ($size px)"
downsize "iTunesArtwork@2x.png" "$file" "${size}x${size}"
downsize "$source" "$file" "${size}x${size}"
fnip
fi
done