can decode api to extract gain map metadata only? #190
-
is it possible to extract the gain map metadata then save to file? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
You can use uhdr_dec_get_gain_map_metadata() to get metadata. The return value is of type uhdr_gainmap_metadata_t. You can write the fields to a file. |
Beta Was this translation helpful? Give feedback.
-
Could this functionality be added to the demo app? It would be great to be able to extract, edit and copy metadata between ultrahdr jpegs. |
Beta Was this translation helpful? Give feedback.
-
will try to add a pull request to handle this. Thank you,
|
Beta Was this translation helpful? Give feedback.
-
@pmonck @GrousexyHKCN the demo app contains the changes that supports this. |
Beta Was this translation helpful? Give feedback.
@pmonck @GrousexyHKCN the demo app contains the changes that supports this.