Bug 418669 - digiKam do not import image dimensions information in database
Summary: digiKam do not import image dimensions information in database
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-IconView (show other bugs)
Version: 7.0.0
Platform: Appimage Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-09 13:05 UTC by sse450
Modified: 2023-05-20 05:12 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sse450 2020-03-09 13:05:47 UTC
SUMMARY
I have imported 50K+ pictures. None of the icons displays dimension. It shows 0x0 (0.00Mpx). 

STEPS TO REPRODUCE
1. Check the box at Settings | Configure digiKam | Icons tab | Show image dimensions
2. 0x0 (0.00Mpx) is shown for "all" the pictures in my collections. 

OBSERVED RESULT
No image dimensions. No image dimension shown also in the exif data (Item Properties on the right hand side)

EXPECTED RESULT
Image dimension should be available and visible.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 19.10

ADDITIONAL INFORMATION

My digiKam version is digikam-7.0.0-beta3-20200309T071114-x86-64.

I exported pictures from LR. Perhaps, this is a bug of LR export. LR could have deleted this data from exif. I am not sure.
Comment 1 Maik Qualmann 2020-03-09 13:31:49 UTC
What happens if you re-read the metadata on some images? Otherwise this problem can not be reproduced here, I am currently working on the Windows version of digiKam-7.0.0-Beta3.

Maik
Comment 2 caulier.gilles 2020-03-09 13:36:25 UTC
Note : if Exif was dropped from images with LR, there now way to extract  image dim info without to decode image as well which will take age during import.

So in this case the behavior is normal.

Perhaps it's better to see "unknown" instead "0x0" in this kind of situation.

Gilles Caulier
Comment 3 sse450 2020-03-09 13:54:36 UTC
Re-reading metadata to the database brings the dimensions back.

Thank you for the hint.
Comment 4 sse450 2020-03-10 08:53:50 UTC
Perhaps, this bug should have been phrased this way:

digikam not importing dimension data

Re-reading data from files fixed the issue. As it seems, dimension data is available in the EXIF. Why didn't digiKam import dimension data during import?
Comment 5 Maik Qualmann 2020-03-10 09:33:04 UTC
DigiKam also reads dimension data during import. I can't say at the moment why it wasn't the case with you. How did you import images?

Maik
Comment 6 sse450 2020-03-10 10:23:10 UTC
I exported from LR with tags. Using exiftool, copied DateTimeOriginal to FileModifyDate. Imported to digiKam from a USB hard disk by creating auto folder (Year/Year-Month-Day format).
Comment 7 caulier.gilles 2020-03-10 10:37:27 UTC
Maik,

To get date from Exif with Import tool, the metadata handling option must be enabled in config dialog.

Gilles
Comment 8 Maik Qualmann 2020-07-10 18:32:29 UTC

*** This bug has been marked as a duplicate of bug 424049 ***
Comment 9 caulier.gilles 2023-05-20 05:12:30 UTC
Problem fixed with commit listed to 

https://bugs.kde.org/show_bug.cgi?id=424049#c13

...and bugs closed :

https://bugs.kde.org/show_bug.cgi?id=465312
https://bugs.kde.org/show_bug.cgi?id=465045