Re: [Numpy-discussion] Applying PIL patch

2008-04-02 Thread Stéfan van der Walt
Hi Izak On Tue, Apr 1, 2008 at 10:08 AM, izak marais <[EMAIL PROTECTED]> wrote: > 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

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
08 11:45:52 PM Subject: Re: [Numpy-discussion] Applying PIL patch Unfortunately, RGBA images cannot be read this way. A patch that fixes the issue was posted here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg01482.html No response from the Image SIG guys. Regards Stéfan On Mon, Mar 31, 2

Re: [Numpy-discussion] Applying PIL patch

2008-03-31 Thread Stéfan van der Walt
Unfortunately, RGBA images cannot be read this way. A patch that fixes the issue was posted here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg01482.html No response from the Image SIG guys. Regards Stéfan On Mon, Mar 31, 2008 at 6:29 PM, Christopher Barker <[EMAIL PROTECTED]> wrote: > iza

Re: [Numpy-discussion] Applying PIL patch

2008-03-31 Thread Christopher Barker
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, scipy and PIL installed. Then you have the patch already-- it was added to the latest PIL. http

[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