# Module: tfg.io.exr

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/io/exr.py) |

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

## Functions

[`channels_to_ndarray(...)`](https://www.tensorflow.org/graphics/api_docs/python/tfg/io/exr/channels_to_ndarray): Copies channels from an OpenEXR.InputFile into a numpy array.

[`read_exr(...)`](https://www.tensorflow.org/graphics/api_docs/python/tfg/io/exr/read_exr): Opens an EXR file and copies the requested channels into an ndarray.

[`write_exr(...)`](https://www.tensorflow.org/graphics/api_docs/python/tfg/io/exr/write_exr): Writes the values in a multi-channel ndarray into an EXR file.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| absolute_import | Instance of `__future__._Feature` |
| division | Instance of `__future__._Feature` |
| print_function | Instance of `__future__._Feature` |

<br />