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.
tasks/bin/resize-notification.sh

11 lines
350 B
Bash

#!/bin/bash
INPUT="$1"
FILENAME="$2"
RESOURCES=../astrid/src/main/res
convert -resize 72x72 ${INPUT} ${RESOURCES}/drawable-xxhdpi/${FILENAME}
convert -resize 48x48 ${INPUT} ${RESOURCES}/drawable-xhdpi/${FILENAME}
convert -resize 36x36 ${INPUT} ${RESOURCES}/drawable-hdpi/${FILENAME}
convert -resize 24x24 ${INPUT} ${RESOURCES}/drawable/${FILENAME}