Skip to content
Extraits de code Groupes Projets
Valider 9b08eaa4 rédigé par Tigriz's avatar Tigriz
Parcourir les fichiers

Update matrixpack.sh: adding type to avoid duplicates

parent 842027f2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -58,11 +58,11 @@ do
fi
# Trim, resize and remove indexed palette from image
echo -n "trimming and resizing"
convert "$f" -bordercolor none -border 1 "$slug/tmp/$f"
convert "$f" -bordercolor none -border 1 "$slug/tmp/$f.$type"
echo -n "."
convert "$slug/tmp/$f" -trim +repage "$slug/tmp/$f"
convert "$slug/tmp/$f.$type" -trim +repage "$slug/tmp/$f.$type"
echo -n "."
convert -background none -gravity center "$slug/tmp/$f" -resize "128x128>" -extent 128x128 $opts"$slug/tmp/$f.$type"
convert -background none -gravity center "$slug/tmp/$f.$type" -resize "128x128>" -extent 128x128 $opts"$slug/tmp/$f.$type"
echo -ne ". \033[92mdone\033[0m! "
# First item in array
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter