working rgb screen!
Python code: from PIL import Image try img = Image.open(image.png).convert(RGB) except FileNotFoundError print(Error Could not find image. Make sure it's in the same folder!) exit() width, height = 140, 80 img = img.resize((width, height)) pixels = img.load() r_list, g_list, b_list = [], [], [] for y in range(height) for x in range(width) r, g, b = pixels[x, y] r_list.append(str(r)) g_list.append(str(g)) b_list.append(str(b)) with open(R_values.txt, w) as f f.write(n.join(r_list)) with open(G_values.txt, w) as f f.write(n.join(g_list)) with open(B_values.txt, w) as f f.write(n.join(b_list)) print(Success! R_values.txt, G_values.txt, and B_values.txt have been generated.)