Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error decoding: "encountered error while parsing metadata" #116

Open
gregbenz opened this issue Apr 20, 2024 · 4 comments
Open

Error decoding: "encountered error while parsing metadata" #116

gregbenz opened this issue Apr 20, 2024 · 4 comments

Comments

@gregbenz
Copy link

I'm seeing an error ("encountered error while parsing metadata") when using the following command to decode sample JPGs from Adobe:
ultrahdr_app -m 1 -j 04.jpg

Sample images may be found at https://helpx.adobe.com/camera-raw/using/gain-map.html.

Perhaps due to RGB map encoding with these images?

@DichenZhang1
Copy link
Collaborator

DichenZhang1 commented Apr 23, 2024

Hi Greg,

The gain map format has updated on the Adobe side. We'are actively working on updating the library accordingly.

Thanks!

@gregbenz
Copy link
Author

@DichenZhang1 Great, thank you!

@GrousexyHKCN
Copy link

hi guys, just want to check whether the decoding can be accessible now;
i have try ultrahdr_app -m 1 -j 04.jpg the same image as greg used from adobe, but reports xml parse error, could not find attribute hdrgm:Version

@GrousexyHKCN
Copy link

GrousexyHKCN commented Jul 6, 2024

i have successfully decode ultra hdr jpeg(create by encode scenario 4 :ultrahdr_app -m 0 -i input_sdr.jpg -g input_gain.jpg -f metadata.cfg).
but the output make me feel confused, when i use -z out.heic, the out.heic image can not be read by any photo app or browser, so the output format can only be decoded to .raw file as the -z default right?
and the default output output.raw is recognized as Panasonic raw image but can not be convert by Adobe DNG converter. can someone give a sample how can i handle with the output.raw file?

Jul 8: found the answer in
https://github.com/google/libultrahdr/issues/54#issuecomment-1873290209
Whether rgba1010102 in the options description can be replaced by x2bgr10le?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants