Skip to content
Extraits de code Groupes Projets
Valider 5c87c99d rédigé par Elliu's avatar Elliu
Parcourir les fichiers

Remove trimming at sticker creation

parent a8dd27b7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -200,7 +200,7 @@ picture_process_sticker() { ...@@ -200,7 +200,7 @@ picture_process_sticker() {
info "File '$FILE' => '$DEST' ($TYPE) | OPTS = '$OPTS'" info "File '$FILE' => '$DEST' ($TYPE) | OPTS = '$OPTS'"
convert "$FILE" -bordercolor none -border 1 "$DEST" 1>&2 && progress_dot || die "$NAME failed on border" convert "$FILE" -bordercolor none -border 1 "$DEST" 1>&2 && progress_dot || die "$NAME failed on border"
convert "$DEST" -trim +repage "$DEST" 1>&2 && progress_dot || die "$NAME failed on trim" convert "$DEST" +repage "$DEST" 1>&2 && progress_dot || die "$NAME failed on trim"
convert -background none -gravity center "$DEST" -resize "${WIDTH}x${HEIGHT}" $OPTS"$DEST" 1>&2 \ convert -background none -gravity center "$DEST" -resize "${WIDTH}x${HEIGHT}" $OPTS"$DEST" 1>&2 \
&& progress_dot \ && progress_dot \
|| die "$NAME failed on ${WIDTH}x${HEIGHT} resize" || die "$NAME failed on ${WIDTH}x${HEIGHT} resize"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter