summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-11 23:02:28 +0300
committerPaul Buetow <paul@buetow.org>2026-06-11 23:02:28 +0300
commit7efb6b5e213a7c19b66da1592898c5627f139c17 (patch)
treed5b41df5a0a598cb977550802bfa3762e2ce2ec3 /src
parent000b94892b29dc2fceb2ce55b33ada73c0590a15 (diff)
Fix HEIGHT photo scaling for task 5m0
Diffstat (limited to 'src')
-rw-r--r--src/lib/image.source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/image.source.sh b/src/lib/image.source.sh
index fef9345..493f0a0 100644
--- a/src/lib/image.source.sh
+++ b/src/lib/image.source.sh
@@ -238,7 +238,7 @@ scale_photo() {
imagemagick \
"$INCOMING_DIR/$photo" \
-auto-orient \
- -geometry "$HEIGHT" \
+ -geometry "x${HEIGHT}>" \
"$destphoto"
else
# Keep original size.