Uhdr write - #5335
Conversation
|
Hi, @mugulmd, just a reminder that this is still marked as a draft, needs a DCO, and has some clang-format fixes. I think that the "hobbled" failure is unrelated and has been separately fixed, should be fixed if you rebase this on top of the current main. |
|
Hi @lgritz yep sorry I just reached the stage of "this works on my machine, let's make a draft PR and finish this later" and I've been procrastinating a little bit 😅 I have some spare time in the days to come, I'll finish this properly! |
Signed-off-by: Loïc Vital <mugulmotion@gmail.com>
… flags Signed-off-by: Loïc Vital <mugulmotion@gmail.com>
Signed-off-by: Loïc Vital <mugulmotion@gmail.com>
Signed-off-by: Loïc Vital <mugulmotion@gmail.com>
|
Can you rebase on top of current main to fix the apparent conflict in buildinplugins.rst? I wonder if the conflict is related to the several places where you seem to have changed whitespace, probably something your editor or pre-commit hooks did automatically? |
Assisted-by:
claude-code/opus-5Description
Related to #5229.
In its current state, OpenImageIO only supports reading Ultra HDR images, and does not support writing such images.
This feature has been requested because it enables converting an HDR image from specialized formats such as OpenEXR to widely-supported and easily displayable/exchangeable JPEG files.
libultrahdr(the codec we use for Ultra HDR) has plenty of options but we only use a restricted subset for simplicity, which leads to the following constraints:oiio:ColorSpacemust be one oflin_rec709_scene,lin_p3d65_scene,lin_rec2020_scenebecause it needs a corresponding "Ultra HDR color gamut".Also, in order to trigger the Ultra HDR output path, the incoming image must have the
jpeg:ultrahdrmetadata set to any non-zero integer.Tests
3 tests have been added to
jpeg-ultrahdr:Checklist:
and if I used AI coding assistants, I have an
Assisted-by: TOOL / MODELline in the pull request description above.
behavior.
PR, by pushing the changes to my fork and seeing that the automated CI
passed there. (Exceptions: If most tests pass and you can't figure out why
the remaining ones fail, it's ok to submit the PR and ask for help. Or if
any failures seem entirely unrelated to your change; sometimes things break
on the GitHub runners.)
fixed any problems reported by the clang-format CI test.
corresponding Python bindings. If altering ImageBufAlgo functions, I also
exposed the new functionality as oiiotool options.