SciPy/NumPy: read, write images using Python3

Discussion in 'Python' started by thegripper, Oct 9, 2011.

  1. thegripper

    thegripper Guest

    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?
    thegripper, Oct 9, 2011
    #1
    1. Advertising

  2. On Oct 9, 8:43 am, thegripper <> 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/>
    Christoph Gohlke, Oct 16, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paxcal
    Replies:
    0
    Views:
    1,843
    Paxcal
    Feb 11, 2004
  2. vml
    Replies:
    3
    Views:
    690
  3. Steven D'Aprano
    Replies:
    1
    Views:
    319
    Terry Reedy
    Jul 12, 2010
  4. thegripper
    Replies:
    0
    Views:
    127
    thegripper
    Oct 9, 2011
  5. Replies:
    1
    Views:
    137
Loading...

Share This Page