From 83a11b549c5001697914687963caa63da87515d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Veres-Szentkir=C3=A1lyi?= Date: Thu, 23 May 2013 14:46:32 +0200 Subject: [PATCH] added Robot 24 B/W and Martin M1 modes --- sstv.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/sstv.py b/sstv.py index 20d9125..7c0457b 100644 --- a/sstv.py +++ b/sstv.py @@ -127,6 +127,23 @@ class Robot8BW(GrayscaleSSTV): SCAN = 56 +class Robot24BW(GrayscaleSSTV): + VIS_CODE = 0x0A + WIDTH = 320 + HEIGHT = 240 + SYNC = 12 + SCAN = 93 + + +class MartinM1(ColorSSTV): + COLOR_SEQ = (ColorSSTV.GREEN, ColorSSTV.BLUE, ColorSSTV.RED) + VIS_CODE = 0x2c + WIDTH = 320 + HEIGHT = 256 + SYNC = 4.862 + SCAN = 146.432 + + if __name__ == '__main__': from PIL import Image image = Image.open('160x120bw.png')