NPZ Numpy’s compressed array format

Extensions: .npz

NPZ is a file format by numpy that provides storage of array data using gzip compression. This imageio plugin supports data of any shape, and also supports multiple images per file.

However, the npz format does not provide streaming; all data is read/written at once. Further, there is no support for meta data.

Beware that the numpy npz format has a bug on a certain combination of Python 2.7 and numpy, which can cause the resulting files to become unreadable on Python 3. Also, this format is not available on Pypy.

Parameters for reading

None

Parameters for saving

None