Bug 459874

Summary: Feature request: being able to filter or search pictures without a date in the metadata
Product: [Applications] digikam Reporter: MarcP <iwannaberich>
Component: Searches-DatesAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: metzpinguin
Priority: NOR    
Version First Reported In: 7.9.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description MarcP 2022-09-30 22:11:34 UTC
SUMMARY

The advanced search and the filter panels are already quite complete, but I have a user case which I cannot carry out using digikam right now.

I would like to be able to find which pictures do not have an EXIF or XMP date. Sometimes I  (or someone else using the picture library) receive pictures via instant messaging, which do not contain any metadata. I usually use the Adjust Time Date tool to set the date (otherwise the date ends up being the file creation or modification date), but I know there must be hundreds of pictures without a date in the metadata, and need to be fixed.

I don't know exactly how could that be carried out in digikam. Maybe an "Images without date" in the Filters panel, and then inside a list of checkboxes for the different dates (EXIF creation, original, digitized, and the same for ITPC and XMP). Or maybe adding a "Date" section in the Advanced Search, I don't know. 

On the other hand, I don't even know if these specific fields are saved in the database or are read from the picture on the go.

For the moment, I use a exiftool script that lists pictures without date in a given folder.
Comment 1 Maik Qualmann 2022-10-01 05:55:43 UTC
Hi Marc,

In fact, this is not easily possible. We can only search or filter for things that are in the database. Since we always need a date, if no metadata is present, the file date is used. This would actually only be possible if the images were analyzed again with Exiv2 or ExifTool.

Maik
Comment 2 MarcP 2022-10-01 14:37:06 UTC
I see. I wasn't sure if that info was in the database.

Anyway, I'll keep using exiftool for that purpose.

You can close this request if you want.