added Robot 24 B/W and Martin M1 modes

This commit is contained in:
András Veres-Szentkirályi 2013-05-23 14:46:32 +02:00
parent a9984c6e39
commit 83a11b549c

17
sstv.py
View file

@ -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')