You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly extend load_exr to return a Dict of metadata. Possibly add a Dict and/or keyword args to save_exr to save metadata.
Saving metadata is straightforward, but, as far as I can tell, there is no capability (in the C API, at least) to query the names of the metadata fields in a file, or the types of the corresponding values. One must know that a value of a known type exists with a known name to retrieve it through the given interface. Thus, the interface for loading metadata will be to expect an associative set (e.g., Dict) of field names and types for metadata to fetch, and to return a Dict with values for which a fetch was successful.
The text was updated successfully, but these errors were encountered:
Possibly extend
load_exr
to return aDict
of metadata. Possibly add aDict
and/or keyword args tosave_exr
to save metadata.Saving metadata is straightforward, but, as far as I can tell, there is no capability (in the C API, at least) to query the names of the metadata fields in a file, or the types of the corresponding values. One must know that a value of a known type exists with a known name to retrieve it through the given interface. Thus, the interface for loading metadata will be to expect an associative set (e.g.,
Dict
) of field names and types for metadata to fetch, and to return aDict
with values for which a fetch was successful.The text was updated successfully, but these errors were encountered: