Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > SciPy/NumPy: read, write images using Python3

Reply
Thread Tools

SciPy/NumPy: read, write images using Python3

 
 
thegripper
Guest
Posts: n/a
 
      10-09-2011
In SciPy / NumPy, the primary way to read and write images is PIL. But
PIL does not yet support Python3. Is there some good way to read,
write, and resize images in a NumPy and Python3 environment?
 
Reply With Quote
 
 
 
 
Christoph Gohlke
Guest
Posts: n/a
 
      10-16-2011
On Oct 9, 8:43*am, thegripper <(E-Mail Removed)> wrote:
> In SciPy / NumPy, the primary way to read and write images is PIL. But
> PIL does not yet support Python3. Is there some good way to read,
> write, and resize images in a NumPy and Python3 environment?


Try Scikits.image <http://scikits-image.org/>. It uses a plugin system
to read/write images to/from numpy arrays via FreeImage, PyQt, FITS,
GDAL, etc.

Other options:

Unofficial PIL ports, e.g. <https://github.com/sloonz/pil-py3k> or
<http://www.lfd.uci.edu/~gohlke/pythonlibs/>

PythonMagick <http://www.imagemagick.org/download/python/>

GDAL <http://www.gdal.org/> for raster geospatial data formats

PyGame 1.9.2pre <http://www.pygame.org/>, uses SDL_image

PyQt 4 <http://www.riverbankcomputing.co.uk/software/pyqt/>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: is the same betweent python3 and python3.2? Andrew Berg Python 0 06-16-2012 11:11 AM
SciPy/NumPy: read, write images using Python3 thegripper Python 0 10-09-2011 03:43 PM
Req. comments on "first version" ch 2 progr. intro (using Python3.x in Windows) Alf P. Steinbach Python 8 11-15-2009 05:32 AM
Python3: Using sorted(key=...) Johannes Bauer Python 3 08-07-2009 04:42 AM
Could anyone give a working example using asynchat in Python3.0? davy zhang Python 0 10-22-2008 02:29 AM



Advertisments