Bug 470248 - Dolphin's "Details" Attributes Missing for JXL files
Summary: Dolphin's "Details" Attributes Missing for JXL files
Status: RESOLVED DOWNSTREAM
Alias: None
Product: frameworks-kfilemetadata
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.106.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Joshua Goins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-25 10:40 UTC by John
Modified: 2023-05-26 15:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John 2023-05-25 10:40:58 UTC
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
Comment 1 Joshua Goins 2023-05-26 15:11:37 UTC
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.
Comment 2 Joshua Goins 2023-05-26 15:22:48 UTC
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.