OS: Linux Mint Cinnamon 22.3, 64-bit
When viewing my JPEG XL files, I am noticing that XNViewMP is unable to handle both 32-bit RGBA JPEG XL files or 24-bit RGB JPEG XL files in the same session runtime. Seems like XNViewMP latches onto the first JPEG XL file and enforces the expected channels/encoding for all other JPEG XL files within the same session.
Effect: Improper rendering of JPEG XL files. 24-bit appear black if 32-bit was loaded first, and 32-bit is distorted and rendered incorrectly if 24-bit was loaded first. (Closing the program clears the discrepancy.)
To reproduce:
1. Close XNViewMP
2. Open 24-bit RGB JPEG XL file.
3. Open 32-bit RGBA JPEG XL file.
4. 32-bit RGBA JPEG XL file appears distorted, like monochrome scanlines.
(alternatively)
1. Close XNViewMP
2. Open 32-bit RGBA JPEG XL file.
3. Open 24-bit RGB JPEG XL file.
4. 24-bit RGB JPEG XL file appears black.
Actual behaviour (bug): 32-bit (RGBA) and 24-bit (RGB) JPEG XL files cannot be viewed correctly in the same session
Expected behaviour: XNViewMP should correctly display both RGB and RGBA JPEG XL images, regardless of load order, in the same session.
______________________________________________________