removed initial testing

This commit is contained in:
wiredfool 2014-01-05 20:50:05 -08:00
parent bb20f6ca83
commit de53889711

View File

@ -22,27 +22,3 @@ def test_get():
get.test_image() get.test_image()
def xtest_direct():
im = Image.open('lena.png')
caccess = im.im.pixel_access(false)
access = PyAccess.new(im)
print (caccess[(0,0)])
print (access[(0,0)])
print (access.im.depth)
print (access.im.image32[0][0])
print (im.getpixel((0,0)))
print (access.get_pixel(0,0))
access.set_pixel(0,0,(1,2,3))
print (im.getpixel((0,0)))
print (access.get_pixel(0,0))
access.set_pixel(0,0,(1,2,3))
print (im.getpixel((0,0)))
print (access.get_pixel(0,0))
p_int = (5 << 24) + (4<<16) + (3 <<8)
access.set_pixel(0,0,p_int)
print (im.getpixel((0,0)))
print (access.get_pixel(0,0))