SUMMARY *** Unlike all other picture/photo files in Dolphin (e.g.: jpg, webp, avif etc.) jxl files are missing dimension details in Dolphin. *** STEPS TO REPRODUCE 1. Right click a "jxl" file in Dolphin 2. Go to Details 3. Compare the "detail" tab window to that of jpg, webp, avif etc OBSERVED RESULT Jpg, webp, avif etc have dimensions in the"details" (e.g. 1920x1080). Jxl do not have this info. Only the size, but no dimensions.. EXPECTED RESULT Make jxl compatuble with Dolphin (exactly like webp, jpg or avif). SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION Example of how to create a jxl file: $ cjxl -d 3 -e 7 input_photo.png output_photo.jxl
This is odd, JXL has support in kfilemetadata (which is the library that also loads metadata for jpg, webp, avif etc) since a year ago but it also doesn't work on my machine. Arch Linux has the feature support enabled in the underlying library (libexiv2) so this sounds like a bug on our end.
Ah, digging deeper it's more complex than that: https://github.com/Exiv2/exiv2/issues/1506. To summarize the long-winded technical stuff, that library can only read EXIF width/height currently (if set, the JXL test file I have doesn't) otherwise it's unable to read the actual image dimensions. From what I understand, they can only parse the JXL "container" and not the actual image format. Once that GitHub issue is solved that, then you'll be able to read the image sizes in Dolphin.