0.99.1 Weird JPEG-XL view bug - depends on Filename!

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Jou
Posts: 60
Joined: Sat Nov 03, 2007 9:38 pm
Contact:

0.99.1 Weird JPEG-XL view bug - depends on Filename!

Post by Jou »

XnViewMP: 0.99.1 x64
OS: Windows 11 x64 and Server 2022 x64

JPEG-XL is viewed wrong like thumbnail resolution depending on the file name.

The files (foo large to attach): https://joumxyzptlk.de/tmp/XnVewMP-0.99 ... ilename.7z
The .jpeg is the original. The .jxl was created using cjxl.exe 0.7 with -d 0 -e 8, it transcoded the jpeg to .jxl as expected. The exact version used is: https://github.com/libjxl/libjxl/action ... 1295435010

However: The result in XnViewMP looks like this:
Original-filename-looks-weird.png

"Fix": Take the -разное out of the name. I.e. rename it from "1981 retro-science-fiction-разное-Robert-Tinney-Shigeru-Komatsuzaki-6834658.jxl" to "1981 retro-science-fiction-Robert-Tinney-Shigeru-Komatsuzaki-6834658.jxl" and is will view fine, just like this:
Renamed-looks-good.png

This is the most weird XnViewMP bug I came across yet - at first I thought the encoder failed :D. The .jpeg with the same name views fine.
Gaming in 4k / 6k / 8k / 15k / 16k? Yes! https://joumxyzptlk.de
Jou
Posts: 60
Joined: Sat Nov 03, 2007 9:38 pm
Contact:

Re: 0.99.1 Weird JPEG-XL view bug - depends on Filename!

Post by Jou »

Oh, another one : D . XnViewMP cannot display it until it gets renamed. Just take "-девушка-теннис" out of the file name and it works. The original .jpeg works WITH the Russian characters.
I'll keep on converting knowing now where the problem is.
Attachments
Jpeg-xl-view-depending-on-filename.zip
(302.38 KiB) Downloaded 91 times
Gaming in 4k / 6k / 8k / 15k / 16k? Yes! https://joumxyzptlk.de
Jou
Posts: 60
Joined: Sat Nov 03, 2007 9:38 pm
Contact:

Re: 0.99.1 Weird JPEG-XL view bug - depends on Filename!

Post by Jou »

Japanese / Chinese characters cause the same issue too, in both versions showing either a weird picture or simply being unable to open them, as long as they are JPEG-XL.
They all don't render a thumbnail while browsing in XnViewMP too, while "normal" .jxl files do show a preview in XnViewMP. Seems like a weird Unicode issue, but only when it comes to JPEG-XL, not to other formats...
Attachments
Screenshot 2021-10-02 185403.png
Gaming in 4k / 6k / 8k / 15k / 16k? Yes! https://joumxyzptlk.de
Jou
Posts: 60
Joined: Sat Nov 03, 2007 9:38 pm
Contact:

Re: 0.99.1 Weird JPEG-XL view bug - depends on Filename!

Post by Jou »

Since this could be an JPEG-XL Library problem I issued a bug report there too since the command line tool cjxl.exe cannot handle unicode as well.
See https://github.com/libjxl/libjxl/issues/683
Gaming in 4k / 6k / 8k / 15k / 16k? Yes! https://joumxyzptlk.de
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.1 Weird JPEG-XL view bug - depends on Filename!

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.1 Weird JPEG-XL view bug - depends on Filename!

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.99.4. Please check and confirm the bug fix here.
Pierre.
Post Reply