diff options
| author | St33v <github@f3rr3t.com> | 2026-03-15 16:34:50 +1100 |
|---|---|---|
| committer | St33v <github@f3rr3t.com> | 2026-03-15 16:34:50 +1100 |
| commit | de19825e3d24f3d4917711d838e056b3ece6fb31 (patch) | |
| tree | 099999b0a7f7f379869d21f6ed3707733f8302d4 | |
| parent | 084d48669dd3b5695ecc78f293044e24472d513b (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-x | synopticChart.sh | 2 |
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}/" |
