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

how to convert .jxr to a workable and editable format by keeping the hdr 16 bpc rec. 2100 color space st. 2084 pq tranfert function ? #7

Open
ACIXCIX0001 opened this issue Dec 28, 2023 · 1 comment

Comments

@ACIXCIX0001
Copy link

.jxr hdr screenshots are generated by [xbox gamebar, nvidia shadowplay, obs]
tried everything :
jxrlib
jxrdecapp.exe -i 'obs.jxr' -o 'obs_jxrdecappconvert.tif'
open and exported to [.tif 16, .exr 16, .png 16] with photoshop plugin
open and exported to [.tif 16, .exr 16, .png 16] with affinity photo 2

asked almost every community forums [colorists, video editing, photo editing, .jxl, jxrlib binaries compiler, .......], no one appears to have a clue on how to process hdr .jxr images out and in of their original container.
because indeed ! as soon as the image is [extracted, converted] out of it s original container, admittedly it keeps it s 16 bpc bit depth but it absolutely does not keep the original [rec. 2100 color space, st. 2084 pq tranfert function] metadata !
and then, it s done ! the image has in all cases been converted to [srgb color space, gamma 2.2 transfert function], even if you would try to mark the resulting [.tif, .exr, .hdr, .png] metadata with the original hdr [rec. 2100 color space, st. 2084 pq tranfert function] metadata, the information is loast and the image will still appears washed out and dull no matter the viewer used ['microsoft photos', 'hdr + wcg image viewer']

here are some sample and you can notice all the original .jxr displays correctly, but none of the converted to other formats does :
onedrive

apparently, only the actual developpaer either of jxrlib or straight jpeg xr developper can answer this question !
so here it is......

@jmgilbertNe
Copy link

I'm not sure about the ones from Nvidia Shadowplay or obs but the .jxr files that XBox Game Bar spit out are Gamma 1.0 scRGB R16G16B16A16 so you can convert them to 64-bit floating point .tif by adding -c 25 to your command-line. You will need to do further processing on them if you want them in Rec.2100 with pq transfer function for easy editing. I would recommend that you avoid ImageMagick for this purpose as it doesn't deal well with floating-point .tif. Maybe write your own tool or add some code to jxrlib. It is not that hard.

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

2 participants