mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
342 B
Bash
11 lines
342 B
Bash
11 years ago
|
#!/bin/bash
|
||
|
|
||
|
INPUT="$1"
|
||
|
FILENAME="$2"
|
||
10 years ago
|
RESOURCES=src/main/res
|
||
11 years ago
|
|
||
|
convert -resize 144x144 ${INPUT} ${RESOURCES}/drawable-xxhdpi/${FILENAME}
|
||
|
convert -resize 96x96 ${INPUT} ${RESOURCES}/drawable-xhdpi/${FILENAME}
|
||
|
convert -resize 72x72 ${INPUT} ${RESOURCES}/drawable-hdpi/${FILENAME}
|
||
|
convert -resize 48x48 ${INPUT} ${RESOURCES}/drawable/${FILENAME}
|