generated from ynput/ayon-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
sponsoredThis is directly sponsored by a client or community memberThis is directly sponsored by a client or community member
Description
Please describe the feature you have in mind and explain what the current shortcomings are?
Nuke can autodetect whether an EXR representation is typed as Deep image. This way we could avoid manual deep toggle in Loader options. And rather autoread it to deep reader.
Client is suggesting deep exr type in discord link.
import OpenEXR
DEEP_EXR_TYPES = {OpenEXR.deepscanline, OpenEXR.deeptile}
def is_deep_exr(filename: str) -> bool:
with OpenEXR.File(filename) as infile:
header = infile.header()
file_type = header.get("type")
is_deep = file_type in DEEP_EXR_TYPES
print(f"{is_deep=}")
return is_deepQuestions to solve:
- If multilayer EXR with deep layer as one of many RGBA layers. Should user be able to manually override the deep detection?
- how to avoid OpenEXR dependency? https://discord.com/channels/517362899170230292/1433072461481775205/1433077840437448736
Additional context:
link to discussion on Discord
(might be a private channel)
This issue was automatically created from AYON ticket YN-0146
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
sponsoredThis is directly sponsored by a client or community memberThis is directly sponsored by a client or community member