[Numpy-discussion] Images and numpy

Robert Kern robert.kern at gmail.com
Sun Oct 19 02:21:08 EDT 2008


On Sun, Oct 19, 2008 at 01:08, Nadav Horesh <nadavh at visionsense.com> wrote:
> I encountered an exception: "nonstandard" format like 16 bits tiff I/O works only via the tostring/fromstring interface.

Yup. Internally, PIL doesn't necessarily represent the data in the
same way that numpy does, so you have to go through another interface
rather than the fast one.

-- 
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