[Numpy-discussion] PIL.Image.fromarray bug in numpy interface

Robert Kern robert.kern@gmail....
Mon Nov 24 11:37:39 CST 2008


On Mon, Nov 24, 2008 at 11:26, Jim Vickroy <Jim.Vickroy@noaa.gov> wrote:
> Travis E. Oliphant wrote:
>
> Jim Vickroy wrote:
>
>
> Hello,
>
> While using the PIL interface to numpy, I rediscovered a logic error
> in the PIL.Image.fromarray() procedure.  The problem (and a solution)
> was mentioned earlier at:
>
>     *
> http://projects.scipy.org/pipermail/numpy-discussion/2006-December/024903.html
>
> There does not seem to be a formal way to report errors to the PIL
> project, and I was told that the PIL/numpy interface was contributed
> by the numpy developers so I'm reporting it here.
>
> Please let me know if there is something additional I should do.
>
>
> I would suggest making a patch and submitting it to the PIL.
>
>
> I did post a suggested patch (one-liner) to the PIL group, but a couple of
> PIL respondents suggested that I submit the problem here.  I have followed
> the PIL group postings for some time, and my impression is that it is
> somewhat difficult to get reader-submitted patches acknowledged.

Tell them that we approve of the change. We don't have commit access
to PIL, so I believe that our approval is the only reason they could
possibly send you over here.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the Numpy-discussion mailing list