Skip to content

Commit b13cf4e

Browse files
committed
logo: Fix App Store icon to avoid transparency
1 parent dddd469 commit b13cf4e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Loading

tools/generate-logos

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,14 @@ make_ios_app_icon() {
103103
make_one_ios_app_icon 76 2 ipad
104104
make_one_ios_app_icon 1024 1 ios-marketing
105105

106+
# For the App Store logo, it's required to not have transparency.
107+
# We already don't have any intentional transparency, so just
108+
# cut out the alpha channel.
109+
mv "${iconset}"/Icon-1024x1024@1x{,.1}.png
110+
convert "${iconset}"/[email protected] \
111+
-alpha deactivate "${iconset}"/[email protected]
112+
rm -f "${iconset}"/[email protected]
113+
106114
# From "Spotlight, Settings, and Notification Icons"
107115
# in the same iOS doc
108116
make_one_ios_app_icon 40 3 iphone

0 commit comments

Comments
 (0)