Skip to content

Instantly share code, notes, and snippets.

@vshy108
vshy108 / prepare_icons.sh
Last active April 10, 2017 17:22 — forked from alvinthen/prepare_icons.sh
Make all app icons with imagemagick, iOS and Android
#!/bin/sh
base=$1
folderName=$2
if [ -z $base ]; then
echo No argument given
elif [ -z $folderName ]; then
##
## iOS files
convert "$base" -resize 20x20! "ios-Icon-20.png"
@vshy108
vshy108 / prepare_icons.sh
Last active April 10, 2017 17:24 — forked from alvinthen/prepare_icons.sh
Make all app icons with imagemagick, iOS and Android
#!/bin/sh
base=$1
folderName=$2
if [ -z $base ]; then
echo No argument given
elif [ -z $folderName ]; then
##
## iOS files
convert "$base" -resize 20x20! "ios-Icon-20.png"