mirror of
https://github.com/dnet/pySSTV.git
synced 2026-01-11 03:00:08 +01:00
added Robot 24 B/W and Martin M1 modes
This commit is contained in:
parent
a9984c6e39
commit
83a11b549c
17
sstv.py
17
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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue