def _points_table():
    for i in range(256):
        for j in itertools.repeat(i, 256):
            yield j
Iterable to map a 16 bit grayscale image to 8 bits.
dataset/ETHPy150Open SmileyChris/easy-thumbnails/easy_thumbnails/processors.py/_points_table