Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
receive: add elevation to image annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
reynico committed Oct 18, 2020
1 parent 630ad41 commit cb22eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion receive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ log "Bulding pass map" "INFO"
for i in $ENHANCEMENTS; do
log "Decoding image" "INFO"
/usr/local/bin/wxtoimg -o -m "${NOAA_HOME}/map/${3}-map.png" -e "$i" "${RAMFS_AUDIO}/audio/${3}.wav" "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-$i.jpg"
/usr/bin/convert -quality 90 -format jpg "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-$i.jpg" -undercolor black -fill yellow -pointsize 18 -annotate +20+20 "${1} $i ${START_DATE}" "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-$i.jpg"
/usr/bin/convert -quality 90 -format jpg "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-$i.jpg" -undercolor black -fill yellow -pointsize 18 -annotate +20+20 "${1} $i ${START_DATE} Elev: $7°" "${NOAA_OUTPUT}/image/${FOLDER_DATE}/${3}-$i.jpg"
done

rm "${NOAA_HOME}/map/${3}-map.png"
Expand Down

0 comments on commit cb22eec

Please sign in to comment.