This commit is contained in:
Blaine Murphy 2017-10-19 01:03:10 +00:00 committed by GitHub
commit b0d8ff66ae

View file

@ -90,7 +90,7 @@ class Robot36(ColorSSTV):
INTER_CH_FREQS = [None, FREQ_BLACK, FREQ_WHITE]
def on_init(self):
self.yuv = self.image.convert('YCbCr').load()
self.yuv = self.image.convert('YCrCb').load()
def encode_line(self, line):
pixels = [self.yuv[col, line] for col in range(self.WIDTH)]