Library for reading and writing a wide range of image, video, scientific, and volumetric data formats.
Project description
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 3.5+, and is easy to install.
Main website: https://imageio.readthedocs.io/
Release notes: https://github.com/imageio/imageio/blob/master/CHANGELOG.md
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 API Reference or examples for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
imageio-2.22.1.tar.gz
(3.4 MB
view hashes)