[Numpy-discussion] array is not writable

Robert Kern robert.kern@gmail....
Wed Aug 26 23:06:25 CDT 2009

On Wed, Aug 26, 2009 at 20:49, Mark Wendell<mark.wendell@gmail.com> wrote:
> Figured this much out: if I do an np.copy of the original array to a
> new array, then I can edit individual 'color' values with impunity. So
> I guess the original array from the pil object still shares memory
> with that image object somehow, making it unwritable?

Most likely.

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