Commit 248a2150 authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

test clean up (2)

parent 30020622
# from PIL import Image
# for l in range(4):
# im = Image.open("%d.png"%(l+1))
# im = im.convert ("L", colors=2048)
# im = im.convert("P", palette=Image.ADAPTIVE)
# #imshow(im)
# pix = im.load()
# new = zeros((256,256))
# for y in range(256):
# for x in range(256):
# new[x,y] = pix[x,y]
# #imshow(new)
# savetxt("%d.dat"%(l+1), new)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment