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

(Feature): JPEG XL support #980

Open
5 of 7 tasks
thequver opened this issue Jul 16, 2024 · 8 comments
Open
5 of 7 tasks

(Feature): JPEG XL support #980

thequver opened this issue Jul 16, 2024 · 8 comments
Assignees
Labels
type:feature New feature or request

Comments

@thequver
Copy link

Make sure to follow our issue report guidelines

Provide a description of your feature request

Please add support for reading/writing jxl files. Avif seems to be already supported

Is this a realistically implementable feature?

  • My feature is realistically implementable
  • My feature is NOT realistically implementable

Can you contribute in creating this feature?

  • I am unable, or not willing to contribute to creating this feature
  • I am able and willing to contribute to the creation of this feature

Additional details

No response

@thequver thequver added the type:feature New feature or request label Jul 16, 2024
@devernay
Copy link
Member

Should be supported by OIIO: https://openimageio.readthedocs.io/en/latest/builtinplugins.html#jpeg-xl

We have to check that JPEG XL support is enabled in our OIIO builds.

Which Natron binary are you using, on which system @thequver ? We'll start with that one.

@thequver
Copy link
Author

I'm using a 2.6 nightly build from here on windows 11.

@acolwell
Copy link
Collaborator

I can take a look at this. I suspect it is just a matter of updating our version of OpenImageIO and including libjxl.

@acolwell
Copy link
Collaborator

So I have been able to get JPEG XL to work, but it requires a 2.6.2 dev build of OpenImageIO. The current stable 2.5.x releases do not support JPEG XL. It is unclear when the first 2.6.x OpenImageIO build will become stable. I suspect it will likely happen sometime in the September/October timeframe given their typical release schedule.

My preference would be to not have Natron depend on a non-stable OpenImageIO version, but I could be persuaded if folks feel that this feature is worth taking on the risk.

How important is this feature? Is there a particular reason you need this support right now or is this a "it would be nice to have"?

@rodlie
Copy link
Contributor

rodlie commented Jul 18, 2024

My preference would be to not have Natron depend on a non-stable OpenImageIO version

Agree.

IMHO this is not a critical feature, JXL is not a common file format. We can support it when OIIO has it in a stable release.

@thequver
Copy link
Author

How important is this feature? Is there a particular reason you need this support right now or is this a "it would be nice to have"?

I need it mostly to save disk space if render frames into jxl instead of png, some project intermediate files and cache could be also shrinked in size if i could use this format. Size reduction is huge, it could save gigabytes. Also it may substitute openexr at some point. Its main competitor, avif format is not well suited in my opinion (inferior lossless compression in benchmarks). But not critical to me too. For now I have to stick to classic exr + png and compress into jxl for archivation manually.

@acolwell
Copy link
Collaborator

Thanks for the responses. For now I'm just going to update OpenImageIO to the latests stable version, which does not have JXL support yet. When a stable version of OpenImageIO w/ JXL support is released then I'll update Natron to use that version and make the other minor changes needed to get JXL working.

I'll leave this bug open and assign it to myself just to help remind me to keep this on my radar.

@acolwell acolwell self-assigned this Jul 19, 2024
@devernay
Copy link
Member

agrre with staying with oiio stable for now. oiio 2.6 is due in fall 2024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants