Bug 124143 - Generate keywords from filename
Summary: Generate keywords from filename
Status: RESOLVED INTENTIONAL
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (show other bugs)
Version: 0.8.1
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-23 17:03 UTC by a.roar
Modified: 2022-01-22 22:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description a.roar 2006-03-23 17:03:41 UTC
Version:           0.8.1 (using KDE 3.5.1, Gentoo)
Compiler:          gcc version 3.4.5 (Gentoo 3.4.5-r1, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (i686) release 2.6.15-gentoo-r1

I just tried to give keywords to all my pictures. But that would take months doing that manually.
It would be great to get a feature that would "tag" my pictures automatically. I thought of generating the keywords for a picture according to the filename of the picture.
Example:
All my pictures have describing filenames like "john and joe laughing.jpg". It would be nice to generate two keywords "john" and "joe" for this picture.
Comment 1 Gerhard Kulzer 2006-03-24 09:41:40 UTC
On Thursday 23 March 2006 17:03, a.roar@web.de wrote:
[bugs.kde.org quoted mail]

Well, this feature can be achieved in two ways:
a) if your file names present a filter criteria as you describe above, then do 
a search filter with digiKam and tag all files at once.
b) if you're good with SQL you could do that directly in the database with a 
statement similar to this:
sqlite3 digikam3.db 'insert into ImageTags select Images.ID "tagnumber" from 
Images where Images.name like "john*";'

Gerhard
Comment 2 a.roar 2006-03-24 18:03:35 UTC
Yes both could work :D But let's think of the following situation:
You have 100 Keywords (perhaps they were generated with the two methods you mentioned). Now i add a new album. Wouldn't it be great when digikam automatically tags the new pictures (whose filenames have describing names) using the already existing tags for a comparation? So everything would be done automatically and the user doesn't have to set the tags manually.
Comment 3 Andi Clemens 2008-12-04 20:41:05 UTC
I don't think we will implement such a feature, or do we?
I can not imagine that a lot of users have such descriptive file names...

Gilles, Marcel, Arnd,

what do you think?

Andi
Comment 4 caulier.gilles 2008-12-04 21:13:38 UTC
Yes, this is a non sence for me, like we can search image based on file name as with tags...

Gilles Caulier