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-boun...@scipy.org [numpy-discussion-boun...@scipy.org] On Behalf Of Stéfan van der Walt [ste...@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 <nad...@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
freeimage_plugin.py
Description: freeimage_plugin.py
_build.patch
Description: _build.patch
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion