Support JPEG XL

I save my images in JPEG XL (JXL) format. It would be ideal to support this format in the built-in viewer, since opening natively is inconvenient.

At least give us the ability to disable the previewer entirely for unknown formats?

Thanks for the suggestion, the browsers do not have current support for this format, but there are some other options like GitHub - niutech/jxl.js: JPEG XL decoder in JavaScript using WebAssembly (WASM) which we can use to show preview of such files. Where do you get such JXL files ?

I encode the files automatically myself using the official command-line tools (libjxl-tools on Debian) or manually using Gwenview (or IrfanView on Windows).

(I was able to disable the default plain text previewer by making single click open the file natively)