Skip to main content

Library for reading and writing a wide range of image, video, scientific, and volumetric data formats.

Project description

https://travis-ci.org/imageio/imageio.svg?branch=master https://coveralls.io/repos/imageio/imageio/badge.png?branch=master

Imageio is a Python library that provides an easy interface to read and write a wide range of image data, including animated images, volumetric data, and scientific formats. It is cross-platform, runs on Python 2.7 and 3.4+, and is easy to install.

Main website: http://imageio.github.io

Release notes: http://imageio.readthedocs.io/en/latest/releasenotes.html

Example:

>>> import imageio
>>> im = imageio.imread('imageio:astronaut.png')
>>> im.shape  # im is a numpy array
(512, 512, 3)
>>> imageio.imwrite('astronaut-gray.jpg', im[:, :, 0])

See the user API or examples for more information.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page