diff --git a/stpkg b/stpkg index cbbfbc7391428c56432153673a32f6a67b5177e0..7d0a1f6cd9bd45f5ad14bf41684d771100931f0e 100755 --- a/stpkg +++ b/stpkg @@ -200,7 +200,7 @@ picture_process_sticker() { info "File '$FILE' => '$DEST' ($TYPE) | OPTS = '$OPTS'" 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 \ && progress_dot \ || die "$NAME failed on ${WIDTH}x${HEIGHT} resize"