summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSt33v <github@f3rr3t.com>2026-03-15 16:34:50 +1100
committerSt33v <github@f3rr3t.com>2026-03-15 16:34:50 +1100
commitde19825e3d24f3d4917711d838e056b3ece6fb31 (patch)
tree099999b0a7f7f379869d21f6ed3707733f8302d4
parent084d48669dd3b5695ecc78f293044e24472d513b (diff)
Resize output PNG to fit 1920x1080
Renders at 300dpi then resizes to screen resolution, keeping aspect ratio. PNG remains the right format for line art and flat colour. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rwxr-xr-xsynopticChart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/synopticChart.sh b/synopticChart.sh
index 0ffac8c..f209beb 100755
--- a/synopticChart.sh
+++ b/synopticChart.sh
@@ -42,7 +42,7 @@ if [ "$curlExit" -gt 0 ]; then
exit "$curlExit"
fi
-magick -density 300 "${latestChart}" "${dateTime}.png"
+magick -density 300 "${latestChart}" -resize 1920x1080 "${dateTime}.png"
mv "${latestChart}" "${RAW_DIR}/"
cp "${dateTime}.png" "${ARCHIVE_DIR}/"