Bug 451470 - EXIF Metadata included in AVIF images is not shown in Gwenview, Dolphin etc.
Summary: EXIF Metadata included in AVIF images is not shown in Gwenview, Dolphin etc.
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kfilemetadata
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.91.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords:
: 484096 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-13 20:43 UTC by Firlaev-Hans
Modified: 2024-04-05 17:44 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.100
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Firlaev-Hans 2022-03-13 20:43:57 UTC
SUMMARY
I converted some photos from JPEG to AVIF and made sure to include the EXIF metadata (e. g. camera model, focal length etc), but in Gwenview and Dolphin this metadata is not displayed.
However, exiftool can read the data from the AVIF file.
Btw after I converted the AVIF back to a JPEG, metadata was shown for the new JPEG again

STEPS TO REPRODUCE
1. Find a JPEG photo with EXIF data, and look at the data displayed in Dolphins preview panel
2. Convert it to AVIF: avifenc PHOTO.jpg PHOTO.avif
3. Include the EXIF data in the AVIF: exiftool -tagsfromfile PHOTO.jpg PHOTO.avif
4. Confirm that the EXIF data is included in the AVIF by looking at the output of: exiftool PHOTO.avif
5. Look at the file in Dolphins preview panel or in Gwenview

OBSERVED RESULT
Metadata is displayed for the JPEG, but not for the AVIF

EXPECTED RESULT
Metadata for the AVIF file should be displayed

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.16.13-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Comment 1 Albert Astals Cid 2022-03-13 21:05:24 UTC
kimageformat doesn't deal with metadata.

Reassigning to kfilemetadata, but not 100% sure that's it either
Comment 2 Albert Astals Cid 2022-03-13 21:13:50 UTC
Adding Daniel in case he feels inclined to investigate.
Comment 3 dnovomesky 2022-03-13 21:38:53 UTC
KFileMetaData is the right place.

New exiv2 can be built with EXIV2_ENABLE_BMFF and it enables support for AVIF and HEIF/HEIC containers.

Most probably, the JPEG XL (jxl) is also supported by new exiv2.

So the solution is to update extractor in KFileMetaData.
Comment 4 Méven Car 2024-04-05 17:42:53 UTC
*** Bug 484096 has been marked as a duplicate of this bug. ***