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

Nadav Horesh nadavh@visionsense....
Mon Mar 14 13:04:17 CDT 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@scipy.org [numpy-discussion-bounces@scipy.org] On Behalf Of Stéfan van der Walt [stefan@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@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@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.scipy.org/pipermail/numpy-discussion/attachments/20110314/5f86dc0d/attachment-0001.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.scipy.org/pipermail/numpy-discussion/attachments/20110314/5f86dc0d/attachment-0001.obj 


More information about the NumPy-Discussion mailing list