From 3c50ace54a7ebbab7b3e701c7fdd308d4aff211a Mon Sep 17 00:00:00 2001 From: Nico Rey Date: Wed, 30 Dec 2020 17:46:44 -0300 Subject: [PATCH] Create thumb for second picture --- receive_iss.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/receive_iss.sh b/receive_iss.sh index 0916827..b38385d 100755 --- a/receive_iss.sh +++ b/receive_iss.sh @@ -47,6 +47,7 @@ if [ -f "$NOAA_HOME/demod.py" ]; then if [ "$img_count" -eq 1 ]; then python3 "${NOAA_HOME}/post.py" "$1 ${START_DATE} ResoluciĆ³n completa: https://weather.reyni.co/detail.php?id=$pass_id" "$7" "${NOAA_OUTPUT}/images/${3}-0.png" elif [ "$img_count" -eq 2 ]; then + /usr/bin/convert -thumbnail 300 "${NOAA_OUTPUT}/images/${3}-1.png" "${NOAA_OUTPUT}/images/thumb/${3}-1.png" python3 "${NOAA_HOME}/post.py" "$1 ${START_DATE} Mas imagenes: https://weather.reyni.co/detail.php?id=$pass_id" "$7" "${NOAA_OUTPUT}/images/${3}-0.png" "${NOAA_OUTPUT}/images/${3}-1.png" fi fi