tfg.io.exr.write_exr
Writes the values in a multi-channel ndarray into an EXR file.
tfg.io.exr.write_exr(
filename, values, channel_names
)
Args |
filename
|
The filename of the output file
|
values
|
A numpy ndarray with shape [height, width, channels]
|
channel_names
|
A list of strings with length = channels
|
Raises |
TypeError
|
If the numpy array has an unsupported type.
|
ValueError
|
If the length of the array and the length of the channel names
list do not match.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-28 UTC.
[null,null,["Last updated 2022-10-28 UTC."],[],[]]