Skip to content

Commit

Permalink
logo: Fix App Store icon to avoid transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
gnprice committed Nov 28, 2023
1 parent dddd469 commit b13cf4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions tools/generate-logos
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ make_ios_app_icon() {
make_one_ios_app_icon 76 2 ipad
make_one_ios_app_icon 1024 1 ios-marketing

# For the App Store logo, it's required to not have transparency.
# We already don't have any intentional transparency, so just
# cut out the alpha channel.
mv "${iconset}"/Icon-1024x1024@1x{,.1}.png
convert "${iconset}"/[email protected] \
-alpha deactivate "${iconset}"/[email protected]
rm -f "${iconset}"/[email protected]

# From "Spotlight, Settings, and Notification Icons"
# in the same iOS doc
make_one_ios_app_icon 40 3 iphone
Expand Down

0 comments on commit b13cf4e

Please sign in to comment.