[Numpy-discussion] תשובה: [OT] any image io module that works with python3?

Nadav Horesh nadavh at visionsense.com
Mon Mar 14 14:04:17 EDT 2011


After the following corrections, it works on both 2.7 and 3.1 python versions. My limited test included:
python2.7: imread and imshow usng pil, freeimage and qt
python3.1 imread via freeimage and imshow via qt

 Thank you very much,
   Nadav

(The file _build.patch is a patch for _build.py)


________________________________________
From: numpy-discussion-bounces at scipy.org [numpy-discussion-bounces at scipy.org] On Behalf Of Stéfan van der Walt [stefan at sun.ac.za]
Sent: 14 March 2011 17:09
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] תשובה: [OT] any image io module that works with python3?

On Mon, Mar 14, 2011 at 9:55 AM, Nadav Horesh <nadavh at visionsense.com> wrote:
> The instillation is OK. The problem is that on my wok PC I do not have PIL installed. So:

Thanks, you are right of course: no plugin should be required upon
import.  I now put the "use_plugin" statement inside a try: except:
block.

Cheers
Stéfan
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeimage_plugin.py
Type: application/python
Size: 15043 bytes
Desc: freeimage_plugin.py
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110314/5f86dc0d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _build.patch
Type: application/octet-stream
Size: 124 bytes
Desc: _build.patch
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110314/5f86dc0d/attachment.obj>


More information about the NumPy-Discussion mailing list