Browse Source

add thumb

tags/1.5
Nico Rey 4 years ago
parent
commit
35c76cf0f8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      receive_meteor.sh

+ 1
- 0
receive_meteor.sh View File

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


log "Rectifying image to adjust aspect ratio" "INFO" log "Rectifying image to adjust aspect ratio" "INFO"
python3 "${NOAA_HOME}/rectify.py" "${NOAA_OUTPUT}/images/${3}-122.bmp" 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}-122.bmp"
rm "${METEOR_OUTPUT}/${3}.bmp" rm "${METEOR_OUTPUT}/${3}.bmp"




Loading…
Cancel
Save