title: Pillow and Numpy, getting pixel values
body: <p>For some reason</p>
  
  <pre><code>im_data = np.array(im.getdata()).reshape(im.size[0], im.size[1], 3)
  p1 = im.getpixel((i, j))
  p2 = im_data[i, j]
  </code></pre>
  
  <p>p1 and p2 are the same rgb values most of the time, except when they're not. Any idea why?</p>