Skip to content

Commit

Permalink
update alpha app icon
Browse files Browse the repository at this point in the history
  • Loading branch information
joewalsh committed Dec 14, 2017
1 parent 7e134cb commit 1fab1ef
Show file tree
Hide file tree
Showing 29 changed files with 22 additions and 13 deletions.
Binary file added Icon/black_square.pdf
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Wikipedia/Images.xcassets/AlphaAppIcon.appiconset/20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Wikipedia/Images.xcassets/AlphaAppIcon.appiconset/29.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Wikipedia/Images.xcassets/AlphaAppIcon.appiconset/40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Wikipedia/Images.xcassets/AlphaAppIcon.appiconset/60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file modified Wikipedia/Images.xcassets/AlphaAppIcon.appiconset/76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
26 changes: 13 additions & 13 deletions Wikipedia/Images.xcassets/AlphaAppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "40-2.png",
"filename" : "40.png",
"scale" : "2x"
},
{
Expand All @@ -15,37 +15,37 @@
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "29@2x.png",
"filename" : "58.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "29@3x.png",
"filename" : "87.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "40@2x.png",
"filename" : "80.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "40@3x.png",
"filename" : "120.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "60@2x.png",
"filename" : "120.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "60@3x.png",
"filename" : "180.png",
"scale" : "3x"
},
{
Expand All @@ -57,7 +57,7 @@
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "40-1.png",
"filename" : "40.png",
"scale" : "2x"
},
{
Expand All @@ -69,7 +69,7 @@
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "29@2x-1.png",
"filename" : "58.png",
"scale" : "2x"
},
{
Expand All @@ -81,7 +81,7 @@
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "40@2x-1.png",
"filename" : "80.png",
"scale" : "2x"
},
{
Expand All @@ -93,19 +93,19 @@
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "76@2x.png",
"filename" : "152.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "83.5x83.5@2x.png",
"filename" : "167.png",
"scale" : "2x"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "1024_inverted.png",
"filename" : "1024.png",
"scale" : "1x"
}
],
Expand Down
9 changes: 9 additions & 0 deletions scripts/icons
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,13 @@ for i in 20 29 40 58 60 76 80 87 120 152 167 180 1024
echo "Creating $i px icon"
convert -density 720x720 Icon/square.pdf -scale $ix$i -alpha remove "$APP_ICON_ROOT/$i.png"
/Applications/ImageOptim.app/Contents/MacOS/ImageOptim "$APP_ICON_ROOT/$i.png"
done

export ALPHA_APP_ICON_ROOT="Wikipedia/Images.xcassets/AlphaAppIcon.appiconset"

for i in 20 29 40 58 60 76 80 87 120 152 167 180 1024
do
echo "Creating $i px icon"
convert -density 720x720 Icon/black_square.pdf -scale $ix$i -alpha remove "$ALPHA_APP_ICON_ROOT/$i.png"
/Applications/ImageOptim.app/Contents/MacOS/ImageOptim "$ALPHA_APP_ICON_ROOT/$i.png"
done

0 comments on commit 1fab1ef

Please sign in to comment.