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] Images and
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 have
On Sun, Oct 19, 2008 at 8:06 AM, Hoyt Koepke [EMAIL PROTECTED] wrote:
If there's something I'm doing wrong, let me know; otherwise I'd be
happy to post a bug report.
The trunk requires some changes which are not released yet. It will be
in the next release of numscons (0.9.3).
cheers,
David
I am using the numpy CAPI to write an extension module that returns a
numpy Array from an imaging data source. I collect the image into a
buffer that I allocate. I then create numpy Array using the
PyArray_New(..) function and pass it the buffer. I then set the
NPY_OWNDATA flag on the Array
On Sun, Oct 19, 2008 at 14:28, Lane Brooks [EMAIL PROTECTED] wrote:
I am using the numpy CAPI to write an extension module that returns a
numpy Array from an imaging data source. I collect the image into a
buffer that I allocate. I then create numpy Array using the
PyArray_New(..) function