[Numpy-discussion] PIL and NumPy

2013-07-12 Thread Brady McCary
NumPy Folks, I want to load images with PIL and then operate on them with NumPy. According to the PIL and NumPy documentation, I would expect the following to work, but it is not. Python 2.7.4 (default, Apr 19 2013, 18:28:01) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license

Re: [Numpy-discussion] PIL and NumPy

2013-07-12 Thread Brady McCary
NumPy Folks, Sorry for the self-reply, but I have determined that this may have something to do with an alpha channel being present. When I remove the alpha channel, things appear to work as I expect. Any discussion on the matter? Brady On Fri, Jul 12, 2013 at 10:00 PM, Brady McCary wrote

[Numpy-discussion] Size/Shape

2013-07-17 Thread Brady McCary
NumPy Folks, Would someone please discuss or point me to a discussion about the discrepancy in size vs shape in the following MWE? In this example I have used a grayscale PNG version of the ImageMagick logo, but any image which is not square will do. $ python Python 2.7.4 (default, Apr 19 2013, 1