On Sun, Oct 19, 2008 at 01:08, Nadav Horesh <[EMAIL PROTECTED]> 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 h
I encountered an exception: "nonstandard" format like 16 bits tiff I/O works
only via the tostring/fromstring interface.
Nadav
-הודעה מקורית-
מאת: [EMAIL PROTECTED] בשם Lane Brooks
נשלח: א 19-אוקטובר-08 06:45
אל: Discussion of Numerical Python
נושא: Re: [Numpy-discussion]
Robert Kern wrote:
On Sat, Oct 18, 2008 at 23:07, Lane Brooks <[EMAIL PROTECTED]> wrote:
What are the preferred ways to get images, like jpgs and pngs, from disk
into a numpy array and from a numpy array to disk?
I did some google searches and found a PEP thread where Travis was
proposing an
On Sat, Oct 18, 2008 at 23:07, Lane Brooks <[EMAIL PROTECTED]> wrote:
> What are the preferred ways to get images, like jpgs and pngs, from disk
> into a numpy array and from a numpy array to disk?
>
> I did some google searches and found a PEP thread where Travis was
> proposing an extended buffer
What are the preferred ways to get images, like jpgs and pngs, from disk
into a numpy array and from a numpy array to disk?
I did some google searches and found a PEP thread where Travis was
proposing an extended buffer protocol that would make for easier
interoperability with libraries such a