Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-16 Thread René Dudfield
pygame On Sat, Mar 12, 2011 at 9:08 AM, Nadav Horesh nad...@visionsense.comwrote: Having numpy, scipy, and matplotlib working reasonably with python3, a major piece of code I miss for a major python3 migration is an image IO. I found that pylab's imread works fine for png image, but I need

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-15 Thread Nadav Horesh
] On Behalf Of Christoph Gohlke [cgoh...@uci.edu] Sent: 14 March 2011 21:55 To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] [OT] anyimage io module that works withpython3? On 3/12/2011 9:56 PM, Nadav Horesh wrote: This lead to another error probably due

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-15 Thread Stéfan van der Walt
On Tue, Mar 15, 2011 at 8:31 PM, Nadav Horesh nad...@visionsense.com wrote: Just downloaded and got the same problems. I'll try to debug and provide a decent analysis, but it would take some days as I am busy with other things. Thanks, that'd be appreciated; I am able to load images using

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-14 Thread Christoph Gohlke
[cgoh...@uci.edu] Sent: 12 March 2011 21:49 To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] [OT] any image io module that works with python3? On 3/12/2011 8:45 AM, Nadav Horesh wrote: I forgot to mention that I work on linux (gentoo x86-64).Here are my achievements till

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Stéfan van der Walt
On Sat, Mar 12, 2011 at 2:35 PM, Zachary Pincus zachary.pin...@yale.edu wrote: Here's a ctypes interface to FreeImage that I wrote a while back and was since cleaned up (and maintained) by the scikits.image folk:

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Christoph Gohlke
-discussion-boun...@scipy.org] On Behalf Of Christoph Gohlke [cgoh...@uci.edu] Sent: 13 March 2011 00:37 To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] [OT] any image io module thatworks withpython3? On 3/12/2011 12:47 PM, Nadav Horesh wrote: After

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Nadav Horesh
-discussion-boun...@scipy.org] On Behalf Of Stéfan van der Walt [ste...@sun.ac.za] Sent: 13 March 2011 17:19 To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] [OT] any image io module that works with python3? On Sat, Mar 12, 2011 at 2:35 PM, Zachary Pincus zachary.pin

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Stéfan van der Walt
Hi Nadav On Sun, Mar 13, 2011 at 8:20 PM, Nadav Horesh nad...@visionsense.com wrote: Jest tested the installation (after git clone ...). I had to correct the following lines in _build.py to pass installation: lines 72, and 75 should be:    f0 = open(f0,'br')    f1 = open(f1,'br') Thanks so

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Christoph Gohlke
Hi Stéfan, I am sending you this off list. I just tried scikits.image from git on Windows. The attached patch fixes some minor build and test issues. Scikits.image.io occasionally seems to shadow Python's io module such that `import gzip` fails. There are 5 test failures like this:

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Stéfan van der Walt
Hi Christoph On Mon, Mar 14, 2011 at 12:16 AM, Christoph Gohlke cgoh...@uci.edu wrote: I just tried scikits.image from git on Windows. The attached patch fixes some minor build and test issues. Great, thanks so much! Pushed into the repo. Scikits.image.io occasionally seems to shadow

[Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Nadav Horesh
Having numpy, scipy, and matplotlib working reasonably with python3, a major piece of code I miss for a major python3 migration is an image IO. I found that pylab's imread works fine for png image, but I need to read all the other image format as well as png and jpeg output. Any hints

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Christoph Gohlke
On 3/12/2011 1:08 AM, Nadav Horesh wrote: Having numpy, scipy, and matplotlib working reasonably with python3, a major piece of code I miss for a major python3 migration is an image IO. I found that pylab's imread works fine for png image, but I need to read all the other image format as

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Zachary Pincus
Here's a ctypes interface to FreeImage that I wrote a while back and was since cleaned up (and maintained) by the scikits.image folk: https://github.com/stefanv/scikits.image/blob/master/scikits/image/io/_plugins/freeimage_plugin.py If it doesn't work out of the box on python 3, then it should

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Nadav Horesh
From: numpy-discussion-boun...@scipy.org [numpy-discussion-boun...@scipy.org] On Behalf Of Zachary Pincus [zachary.pin...@yale.edu] Sent: 12 March 2011 14:35 To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] [OT] any image io module that works

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Christoph Gohlke
[zachary.pin...@yale.edu] Sent: 12 March 2011 14:35 To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] [OT] any image io module that works with python3? Here's a ctypes interface to FreeImage that I wrote a while back and was since cleaned up (and maintained

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Nadav Horesh
-discussion] [OT] any image io module that works with python3? Here's a ctypes interface to FreeImage that I wrote a while back and was since cleaned up (and maintained) by the scikits.image folk: https://github.com/stefanv/scikits.image/blob/master/scikits/image/io/_plugins/freeimage_plugin.py

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Nadav Horesh
Gohlke [cgoh...@uci.edu] Sent: 12 March 2011 21:49 To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] [OT] any image io module that works with python3? On 3/12/2011 8:45 AM, Nadav Horesh wrote: I forgot to mention that I work on linux (gentoo x86-64).Here are my achievements till

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Christoph Gohlke
...@uci.edu] Sent: 12 March 2011 21:49 To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] [OT] any image io module that works with python3? On 3/12/2011 8:45 AM, Nadav Horesh wrote: I forgot to mention that I work on linux (gentoo x86-64).Here are my achievements till now: 1

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Nadav Horesh
-boun...@scipy.org] On Behalf Of Christoph Gohlke [cgoh...@uci.edu] Sent: 13 March 2011 00:37 To: numpy-discussion@scipy.org Subject: Re: [Numpy-discussion] [OT] any image io module thatworks withpython3? On 3/12/2011 12:47 PM, Nadav Horesh wrote: After the replacement of ö with o