[Numpy-discussion] Images and numpy

Robert Kern robert.kern@gmail....
Sun Oct 19 01:21:08 CDT 2008


On Sun, Oct 19, 2008 at 01:08, Nadav Horesh <nadavh@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