Re: PIL : How to write array to image ???

2009-10-06 Thread Scott David Daniels
Mart. wrote: On Oct 5, 5:14 pm, Martin mar...@hvidberg.net wrote: On Oct 4, 10:16 pm, Mart. mdeka...@gmail.com wrote: On Oct 4, 9:47 am, Martin mar...@hvidberg.net wrote: On Oct 3, 11:56 pm, Peter Otten __pete...@web.de wrote: Martin wrote: Dear group I'm trying to use PIL to write an

Re: PIL : How to write array to image ???

2009-10-05 Thread Mart.
On Oct 5, 5:14 pm, Martin mar...@hvidberg.net wrote: On Oct 4, 10:16 pm, Mart. mdeka...@gmail.com wrote: On Oct 4, 9:47 am, Martin mar...@hvidberg.net wrote: On Oct 3, 11:56 pm, Peter Otten __pete...@web.de wrote: Martin wrote: Dear group I'm trying to use PIL to write

Re: PIL : How to write array to image ???

2009-10-04 Thread Martin
On Oct 3, 11:56 pm, Peter Otten __pete...@web.de wrote: Martin wrote: Dear group I'm trying to use PIL to write an array (a NumPy array to be exact) to an image. Peace of cake, but it comes out looking strange. I use the below mini code, that I wrote for the purpose. The print of a

Re: PIL : How to write array to image ???

2009-10-04 Thread Mart.
On Oct 4, 9:47 am, Martin mar...@hvidberg.net wrote: On Oct 3, 11:56 pm, Peter Otten __pete...@web.de wrote: Martin wrote: Dear group I'm trying to use PIL to write an array (a NumPy array to be exact) to an image. Peace of cake, but it comes out looking strange. I use the

PIL : How to write array to image ???

2009-10-03 Thread Martin
Dear group I'm trying to use PIL to write an array (a NumPy array to be exact) to an image. Peace of cake, but it comes out looking strange. I use the below mini code, that I wrote for the purpose. The print of a looks like expected: [[ 200. 200. 200. ...,0.0.0.] [ 200. 200.

Re: PIL : How to write array to image ???

2009-10-03 Thread Robert Kern
Martin wrote: Dear group I'm trying to use PIL to write an array (a NumPy array to be exact) to an image. Peace of cake, but it comes out looking strange. I use the below mini code, that I wrote for the purpose. The print of a looks like expected: [[ 200. 200. 200. ...,0.0.0.]

Re: PIL : How to write array to image ???

2009-10-03 Thread Peter Otten
Martin wrote: Dear group I'm trying to use PIL to write an array (a NumPy array to be exact) to an image. Peace of cake, but it comes out looking strange. I use the below mini code, that I wrote for the purpose. The print of a looks like expected: [[ 200. 200. 200. ...,0.0.