Skip to content

Instantly share code, notes, and snippets.

@Norod
Created June 1, 2021 10:29
Show Gist options
  • Select an option

  • Save Norod/0e88a36b326a340958247c77f186e52f to your computer and use it in GitHub Desktop.

Select an option

Save Norod/0e88a36b326a340958247c77f186e52f to your computer and use it in GitHub Desktop.
Add a "QA" top and bottom bars to App Icons Using ImageMagick
# Add a "QA" top and bottom bars to App Icons
# Using ImageMagick
#brew install imagemagick
########
# Phone
########
convert "App Icon 1024x1024.png" \
-size 1024x128 -font "Times New Roman" -pointsize 96 -background 'rgb(106, 228, 222)' -fill red \
-gravity center caption:"QA QA QA" -gravity south -composite \
-gravity center caption:"QA QA QA" -gravity north -composite result.png
convert "result.png" -resize 1024x1024 "App Icon 1024x1024.png"
convert "result.png" -resize 58x58 "iPhone Settings [email protected]"
convert "result.png" -resize 87x87 "iPhone Settings [email protected]"
convert "result.png" -resize 120x120 "iPhone App [email protected]"
convert "result.png" -resize 80x80 "iPhone Spotlight [email protected]"
convert "result.png" -resize 180x180 "iPhone App [email protected]"
convert "result.png" -resize 120x120 "iPhone Spotlight [email protected]"
convert "result.png" -resize 40x40 "iPhone Notification [email protected]"
convert "result.png" -resize 60x60 "iPhone Notification [email protected]"
rm result.png
########
# Watch
########
convert "Appstore Icon - 1024x1024.png" \
-size 1024x128 -font "Times New Roman" -pointsize 96 -background 'rgb(106, 228, 222)' -fill red \
-gravity center caption:"QA QA QA" -gravity south -composite \
-gravity center caption:"QA QA QA" -gravity north -composite result.png
convert "result.png" -resize 1024x1024 "Appstore Icon - 1024x1024.png"
convert "result.png" -resize 58x58 "Companion Settings Notification Center [email protected]"
convert "result.png" -resize 87x87 "Companion Settings Notification Center [email protected]"
convert "result.png" -resize 80x80 "Home Screen [email protected]"
convert "result.png" -resize 88x88 "Home Screen [email protected]"
convert "result.png" -resize 100x100 "Home Screen [email protected]"
convert "result.png" -resize 48x48 "Notification Center [email protected]"
convert "result.png" -resize 55x55 "Notification Center [email protected]"
convert "result.png" -resize 216x216 "Short Look [email protected]"
convert "result.png" -resize 172x172 "Short Look [email protected]"
convert "result.png" -resize 196x196 "Short Look [email protected]"
rm result.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment