pic/palette.py
2025-10-23 13:30:39 -05:00

8 lines
148 B
Python

f = open("DSC09311-256.data.pal", 'rb')
b = f.read()
def grouper(iterable, n):
args = [iter(iterable)] * n
return zip(*args, strict=True)