Skip to content

Instantly share code, notes, and snippets.

@CreateRemoteThread
Created April 18, 2016 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CreateRemoteThread/f4442f9eef306aed4a5a96c13819f9bd to your computer and use it in GitHub Desktop.
Save CreateRemoteThread/f4442f9eef306aed4a5a96c13819f9bd to your computer and use it in GitHub Desktop.
#!/usr/bin/python
from PIL import Image
f = Image.open("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