Dear Brady On Fri, 12 Jul 2013 22:00:08 -0500, Brady McCary wrote: > > 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.
Reading images as PIL is a little bit trickier than one would hope. You can find an example of how to do it (taken scikit-image) here: https://github.com/scikit-image/scikit-image/blob/master/skimage/io/_plugins/pil_plugin.py#L15 Stéfan _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
