From 5c87c99d31f5d126aac515b4e2f590739fc93c50 Mon Sep 17 00:00:00 2001
From: Elliu <elliu@hashi.re>
Date: Fri, 22 Oct 2021 21:33:30 +0200
Subject: [PATCH] Remove trimming at sticker creation

---
 stpkg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stpkg b/stpkg
index cbbfbc7..7d0a1f6 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"
-- 
GitLab