mirror of
https://github.com/dnet/pySSTV.git
synced 2026-01-03 23:30:37 +01:00
added after_channel hook to ColorSSTV
This commit is contained in:
parent
3644c050ae
commit
4d3bdef3c5
4
color.py
4
color.py
|
|
@ -18,10 +18,14 @@ class ColorSSTV(GrayscaleSSTV):
|
|||
pixel = image.getpixel((col, line))
|
||||
freq_pixel = byte_to_freq(pixel[index])
|
||||
yield freq_pixel, msec_pixel
|
||||
for item in self.after_channel(index):
|
||||
yield item
|
||||
|
||||
def before_channel(self, index):
|
||||
return []
|
||||
|
||||
after_channel = before_channel
|
||||
|
||||
|
||||
class MartinM1(ColorSSTV):
|
||||
COLOR_SEQ = (ColorSSTV.GREEN, ColorSSTV.BLUE, ColorSSTV.RED)
|
||||
|
|
|
|||
Loading…
Reference in a new issue