[Numpy-discussion] PIL and NumPy
Stéfan van der Walt
stefan at sun.ac.za
Mon Jul 15 12:25:56 EDT 2013
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
More information about the NumPy-Discussion
mailing list