If anyone's curious, https://i.imgur.com/08vtB4n.png was my initial attempt to recover the garbled screenshot at the end of the post, although I did end up throwing away the vast majority of the pixels. It's at least vaguely recognizable as an OSX screenshot?
Okay. I've fully reconstituted the image, to the best of my ability: https://i.imgur.com/8XemFj2.png from PIL import Image png = Image.open('screenshot.png') pxl = Image.frombytes('RGB', (5120,200), png.tobytes()).load() new_img = Image.new('RGB', (1280, 800)) new_pxl = new_img.load() for block in range(80): for x in range(16): for y in range(200): for offset in range(0,4): new_pxl[block*16 + x, 4*y + offset] = pxl[(…
very cool :)