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 (includi
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
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
'utf8' codec can't decode byte 0xe4 in position 1909:
invalid continuation byte
Any idea on how to correct it? Any elegant way to avoid byte compiling?
Nadav
From: numpy-discussion-boun...@scipy.org [numpy-discussion-boun...@scipy.org]
On B
ine 300, in decode
> (result, consumed) = self._buffer_decode(data, self.errors, final)
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 1909:
> invalid continuation byte
>
>
>
> Any idea on how to correct it? Any elegant way to avo
ect: 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) by the scikits.image folk:
https://github.com/stefanv/scikits.image/blob/master/sciki
numpy-discussion-boun...@scipy.org]
On Behalf Of 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 th
_
> From: numpy-discussion-boun...@scipy.org [numpy-discussion-boun...@scipy.org]
> On Behalf Of 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
> p
-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 ö wit
On Sat, Mar 12, 2011 at 2:35 PM, Zachary Pincus 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:
>
https://github.com/stefanv/scikits.image/blob/master/scikits/image/io/_plugins/freeimage_plugin.py
>
>
n-boun...@scipy.org [numpy-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
...@scipy.org [numpy-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 Pin
Hi Nadav
On Sun, Mar 13, 2011 at 8:20 PM, Nadav Horesh 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 much for testing
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:
===
Hi Christoph
On Mon, Mar 14, 2011 at 12:16 AM, Christoph Gohlke 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 Python's io module
build directory before
> rebuilding.
>
> Christoph
>
>>
>>Thank you,
>>
>> Nadav.
>> ____
>> From: numpy-discussion-boun...@scipy.org
>> [numpy-discussion-boun...@scipy.org] On Behalf Of Christoph Goh
y.org]
On Behalf Of Christoph Gohlke [cgoh...@uci.edu]
Sent: 14 March 2011 21:55
To: numpy-discussion@scipy.org
Subject: Re: [Numpy-discussion] [OT] any image io module that
works withpython3?
On 3/12/2011 9:56 PM, Nadav Horesh wrote:
> This lead to another error prob
On Tue, Mar 15, 2011 at 8:31 PM, Nadav Horesh 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
freeimage without a probl
pygame
On Sat, Mar 12, 2011 at 9: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 ot
19 matches
Mail list logo