jpegli XYB : lossless crop wrecks colour

*** Please report new bugs here! ***

Moderators: helmut, xnview, Dreamer

Post Reply
meteorquake
Posts: 104
Joined: Wed Sep 13, 2023 9:37 am

jpegli XYB : lossless crop wrecks colour

Post by meteorquake »

The attached was saved XYB Jpegli 4-4-4 progressive (XNView 1.9.5)
When a lossless crop is applied the colours are messed up. In non-XYB form this doesn't happen. Lossless rotations are fine.
So I think either the issue needs fixing or the lossless cropping of affected formats needs to be blocked (at least until fixed).

I notice there's a discussion of XYB colour space at viewtopic.php?t=48869 but I think that is unrelated to this issue

Cheers, David
Attachments
2025-11-06-12-14-31.jpg
2025-11-06-12-14-31.jpg (694.79 KiB) Viewed 181 times
Kadet
Posts: 218
Joined: Thu Oct 20, 2022 7:23 pm

Re: jpegli XYB : lossless crop wrecks colour

Post by Kadet »

You must use XYB encoding carefully because not all programs decode it correctly in jpeg's files. E.g. Browsers do it well, but converters in WordPress or Joomla do it incorrectly. I would hold off on using XYB for the next year or two.
meteorquake
Posts: 104
Joined: Wed Sep 13, 2023 9:37 am

Re: jpegli XYB : lossless crop wrecks colour

Post by meteorquake »

Thanks - yes I noticed the same thing! I'm wavering as to what is the best course.
I don't mind too much what other programs do so long as I have the tools myself, since my photos are used for botanical study and as I have rather a lot I need them to remain clear yet a minimum of size... that said I share them also... if I could tell the trajectory of things it would help, as it would be fine to XYB them now and then 2 years down the line XYB becomes normalised.
meteorquake
Posts: 104
Joined: Wed Sep 13, 2023 9:37 am

Re: jpegli XYB : lossless crop wrecks colour

Post by meteorquake »

1.9.6 now works for me
Post Reply