summaryrefslogtreecommitdiff
path: root/gr-noaa/oct/frames-to-png.sh
diff options
context:
space:
mode:
authorJohnathan Corgan2009-11-02 06:45:21 -0800
committerJohnathan Corgan2009-11-02 06:51:23 -0800
commita8ab0d1f73a0f9d62fb1a61802f906744690cebb (patch)
tree0d6f1a7903db2cb01617b669c6304ce57e8122c1 /gr-noaa/oct/frames-to-png.sh
parentae5b4ed2ce8c4a0903eea1b264da5393a179c9fe (diff)
downloadgnuradio-a8ab0d1f73a0f9d62fb1a61802f906744690cebb.tar.gz
gnuradio-a8ab0d1f73a0f9d62fb1a61802f906744690cebb.tar.bz2
gnuradio-a8ab0d1f73a0f9d62fb1a61802f906744690cebb.zip
Added frames_to_ppm Octave script, use ImageMagick to convert to png
Diffstat (limited to 'gr-noaa/oct/frames-to-png.sh')
-rwxr-xr-xgr-noaa/oct/frames-to-png.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/gr-noaa/oct/frames-to-png.sh b/gr-noaa/oct/frames-to-png.sh
new file mode 100755
index 000000000..cb3e3fb7d
--- /dev/null
+++ b/gr-noaa/oct/frames-to-png.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+octave --eval frames_to_ppm
+
+convert chan1.ppm chan1.png && rm chan1.ppm
+convert chan2.ppm chan2.png && rm chan2.ppm
+convert chan3.ppm chan3.png && rm chan3.ppm
+convert chan4.ppm chan4.png && rm chan4.ppm
+convert chan5.ppm chan5.png && rm chan5.ppm