tfg.io.exr.write_exr
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-10-28 UTC."],[],[]]