Sfoglia il codice sorgente

add thumb

tags/1.5
Nico Rey 4 anni fa
parent
commit
35c76cf0f8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      receive_meteor.sh

+ 1
- 0
receive_meteor.sh Vedi File

@@ -54,6 +54,7 @@ if [ -f "${METEOR_OUTPUT}/${3}.dec" ]; then

log "Rectifying image to adjust aspect ratio" "INFO"
python3 "${NOAA_HOME}/rectify.py" "${NOAA_OUTPUT}/images/${3}-122.bmp"
/usr/bin/convert -thumbnail 300 "${NOAA_OUTPUT}/images/${3}-rectified.jpg" "${NOAA_OUTPUT}/images/thumb/${3}-rectified.jpg"
rm "${METEOR_OUTPUT}/${3}-122.bmp"
rm "${METEOR_OUTPUT}/${3}.bmp"



Caricamento…
Annulla
Salva