Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from PIL import Image
f ="ark.bmp")
f_rgb = f.convert('RGB')
out = ""
for y in range(0,1080):
for x in range(0,1920):
(r,g,b) = f_rgb.getpixel((x,y))
if r == 105 and g == 35:
out += chr(b)
print out
del f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.