瀏覽代碼

receive: add elevation to image annotation

tags/v.1.4
Nico Rey 4 年之前
父節點
當前提交
cb22eeccdd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      receive.sh

+ 1
- 1
receive.sh 查看文件

@@ -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"


Loading…
取消
儲存