novomesk / qt-jpegxl-image-plugin

Qt plug-in to allow Qt and KDE based applications to read/write JXL images.
GNU General Public License v3.0
91 stars 8 forks source link

Cannot view image dimension on dolphin's file properties. #9

Closed arun54321 closed 3 years ago

arun54321 commented 3 years ago

image

It doesn't show width and height for avif and jxl.

novomesk commented 3 years ago

I don't know from where dolphin takes the information now but I have a feeling that it is not related to my plug-in. Probably the support has to be added elsewhere.

arun54321 commented 3 years ago

Okay.

novomesk commented 3 years ago

I believe KFileMetaData is the place where support could be added, if someone contribute extractor for JXL files.

If the support is available in exiv2, then KFileMetaData could add support easily. AVIF is going to be supported in future exiv2 v0.27.4

ghost commented 3 years ago

Exiv2 now supports JXL/bmff (Exiv2/exiv2@a750ea27809efd6db838f4a753ad4acd9eb17cc1).

To view the dimension (and other metadata) of JXL (and AVIF, HEIF, etc.) files:

  1. Build Exiv2 from latest git commit (Remember to set -DEXIV2_ENABLE_BMFF=On)
  2. Apply this diff to kfilemetadata