mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
removed initial testing
This commit is contained in:
parent
bb20f6ca83
commit
de53889711
|
@ -22,27 +22,3 @@ def test_get():
|
|||
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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user