mirror of
https://github.com/dnet/pySSTV.git
synced 2026-04-21 06:03:43 +00:00
Merge 824937759e into d51c00a04a
This commit is contained in:
commit
b0d8ff66ae
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class Robot36(ColorSSTV):
|
||||||
INTER_CH_FREQS = [None, FREQ_BLACK, FREQ_WHITE]
|
INTER_CH_FREQS = [None, FREQ_BLACK, FREQ_WHITE]
|
||||||
|
|
||||||
def on_init(self):
|
def on_init(self):
|
||||||
self.yuv = self.image.convert('YCbCr').load()
|
self.yuv = self.image.convert('YCrCb').load()
|
||||||
|
|
||||||
def encode_line(self, line):
|
def encode_line(self, line):
|
||||||
pixels = [self.yuv[col, line] for col in range(self.WIDTH)]
|
pixels = [self.yuv[col, line] for col in range(self.WIDTH)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue