Page 1 of 1
XYB color space with JPEGLI ??
Posted: Fri Apr 04, 2025 10:07 am
by CreativeWorld
Hello,
I was wondering if it is possible to tell nconvert to use the XYB color space with JPEGLI?
I could not find any info in the help of the latest version (7.221).
By the way, XNViewMP (1.8.7) does not export any meaningful nconvert commandline (for JPEGLI).
The batch file just contains "nconvert.exe" without any command line options.
Regards
CW
Re: XYB color space with JPEGLI ??
Posted: Fri Apr 25, 2025 1:54 pm
by xnview
no it will be added
Re: XYB color space with JPEGLI ??
Posted: Sun Apr 27, 2025 2:30 pm
by WinnieW
Important fix of JPEG with XYB color profile and subsampling is in git now. XYB color subsampling was incorrect in the past.
https://github.com/google/jpegli/pull/130
Re: XYB color space with JPEGLI ??
Posted: Wed Apr 30, 2025 6:15 am
by xnview
i use jpegli from jpegxl project...
Re: XYB color space with JPEGLI ??
Posted: Wed Apr 30, 2025 9:24 am
by WinnieW
Ok, but there is a notice in the libjxl that further development of jpegli will happen in the jpegli repository.
https://github.com/libjxl/libjxl/blob/m ... /README.md
Maybe there will backport jpegli development to the libjxl repository.
Incorrect XYB subsampling in cjpegli hasn't been fixed in the libjxl repository, so far.
Re: XYB color space with JPEGLI ??
Posted: Mon May 12, 2025 1:11 pm
by xnview
WinnieW wrote: Wed Apr 30, 2025 9:24 am
Incorrect XYB subsampling in cjpegli hasn't been fixed in the libjxl repository, so far.
changes are not yet in the main branch
https://github.com/google/jpegli
Re: XYB color space with JPEGLI ??
Posted: Mon May 12, 2025 1:32 pm
by WinnieW
I noticed that.
Maybe the priority isn't high, or the developers assume that JPEG files with XYB are considered experimental and only a few people are using that coding option.
Anyway, in the meantime, until a proper bugfix is in the official code of jpegli,
a quick fix might be disabling color subsampling for writing new jpeg files when XYB is selected, because XYB with activated subsampling, esp. subsampling the Y channel of XYB, worsens the quality of the image in a visable way; and such jpegs can't be transcoded to JPEG XL either.
Re: XYB color space with JPEGLI ??
Posted: Tue Aug 12, 2025 11:41 am
by WinnieW
A new release of libjxl is in the pipeline. It's just a matter of days.
This will also fix pending bugs in jpegli, incl. bugs related to XYB color space in jpegli.
Re: XYB color space with JPEGLI ??
Posted: Fri Oct 31, 2025 9:05 pm
by CreativeWorld
WinnieW wrote: Tue Aug 12, 2025 11:41 am
A new release of libjxl is in the pipeline. It's just a matter of days.
This will also fix pending bugs in jpegli, incl. bugs related to XYB color space in jpegli.
Just wanted to ask, if this JPEGLI fix has been implemented in the latest version (1.9.5), since I could not find anything in the changelog.
Re: XYB color space with JPEGLI ??
Posted: Fri Nov 07, 2025 8:00 am
by meteorquake
Yes this would be good to know what the situation/schedule is, I started using it with XYB recently and have just noticed this thread now.
However according to Gemini the bugs affected greyscale, RGBA and non-444 subsampling (i.e. subsampling), whereas I've been using RGB to XYB and 4-4-4 which it states is okay.
Re: XYB color space with JPEGLI ??
Posted: Fri Nov 07, 2025 3:09 pm
by WinnieW
CreativeWorld wrote: Fri Oct 31, 2025 9:05 pm
WinnieW wrote: Tue Aug 12, 2025 11:41 am
A new release of libjxl is in the pipeline. It's just a matter of days.
This will also fix pending bugs in jpegli, incl. bugs related to XYB color space in jpegli.
Just wanted to ask, if this JPEGLI fix has been implemented in the latest version (1.9.5), since I could not find anything in the changelog.
Still no official release of a jpegli version that include that specific bug fix. . Without a release of jpegli with proper XYB support, it can't be included in any XnView software... Otherwise, you need software and hardware support for JPG files that make use of XYB color space. XYB-JPEG are considered proprietary, atm.
I don't use it, because neither my TV nor my digital photo frames support XYB color space, only YUV.
Re: XYB color space with JPEGLI ??
Posted: Fri Nov 07, 2025 3:11 pm
by WinnieW
* Unintentional double post deleted *