>>> pixels=im1.load()
>>> pixels
<PixelAccess object at 0x000001E94C3F1130>
>>> pixels[3,4]
(254, 254, 254, 255)
>>> dir(pixels)
['__class__', '__delattr__', '__delitem__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__']
pixels是一个类对象,可以通过这种方式获得某个像素颜色信息。