Save the date! Google I/O returns May 18-20 Register now


Utility functions for reading and writing EXR image files as numpy arrays.


class range: range(stop) -> range object

class zip: zip(*iterables) --> zip object


channels_to_ndarray(...): Copies channels from an OpenEXR.InputFile into a numpy array.

read_exr(...): Opens an EXR file and copies the requested channels into an ndarray.

write_exr(...): Writes the values in a multi-channel ndarray into an EXR file.