Re: [Numpy-discussion] Sintax differences

2008-06-20 Thread izak marais
I apologise for the horrible spelling mistake in the mail title! ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] Sintax differences

2008-06-20 Thread izak marais
Hi Is there a reason why the syntax is rand(n,n), but zeros((n,n)) to create an n*n array? If not, perhaps this could be cleaned up? Regards, Izak Marais ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org

Re: [Numpy-discussion] Applying PIL patch

2008-04-01 Thread izak marais
Stéfan wrote:"Unfortunately, RGBA images cannot be read this way. " Apparently it does not work with 16bit greyscale tif images either. For anyone else stumbling upon this thread, there is a work-about to get the data into a numpy array. i = Image.open('16bitGreyscaleImage.tif') a = numpy.arra

Re: [Numpy-discussion] Applying PIL patch

2008-04-01 Thread izak marais
008 at 6:29 PM, Christopher Barker <[EMAIL PROTECTED]> wrote: > izak marais wrote: > > Sorry for the beginner question. I want to apply the PIL-numpy patch > > from http://www.scipy.org/Cookbook/PIL?highlight=%28PIL%29 . I have the > > latest windows binaries of numpy,

[Numpy-discussion] Applying PIL patch

2008-03-31 Thread izak marais
Hi all, Sorry for the beginner question. I want to apply the PIL-numpy patch from http://www.scipy.org/Cookbook/PIL?highlight=%28PIL%29 . I have the latest windows binaries of numpy, scipy and PIL installed. I searched python.org, but couldn't find info on applying patches. How do I apply the