mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-07-27 16:12:29 +02:00
new icon look
This commit is contained in:
16
scripts/resize-icons.sh
Normal file
16
scripts/resize-icons.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$1" != "" ]; then # check if arg 1 is present
|
||||
FILE=$1
|
||||
else
|
||||
echo "Please provide a file as an argument."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SIZES=("16x16" "22x22" "24x24" "32x32" "48x48" "64x64" "128x128" "256x256" "384x384")
|
||||
|
||||
echo "Resizing $FILE..."
|
||||
|
||||
for i in "${SIZES[@]}"; do
|
||||
convert "$FILE" -resize "$i" "$i.png"
|
||||
done
|
Reference in New Issue
Block a user