This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Saving image tags

Tags: None
(comma "," separated)
r0cab
Registered Member
Posts
3
Karma
0

Saving image tags

Sat Aug 13, 2016 9:02 pm
Hello, I'm using Gwenview since a lot of time, and I recently started using the tags in order to organize a bit my photos.
I'm thinking to move my photo collection to another computer, but the tags won't move by themselves it seems. Where are Gwenview's image tags saved ?
r0cab
Registered Member
Posts
3
Karma
0

Re: Saving image tags

Mon Aug 22, 2016 7:36 am
I've found a partial answer. Gwenview saves the image tags (or labels ?) within the directory
~/.local/share/baloo/file
where I find two Sqlite3 databases
fileMap.sqlite3
fileMetaData.sqlite3
The first one has one table, names files, with two columns :
Code: Select all
id INTEGER PRIMARY KEY,
url TEXT NOT NULL UNIQUE

and gives the path to the files.
The second one also has on table only, named files, with the columns :
Code: Select all
id INTEGER NOT NULL,
property TEXT NOT NULL,
value TEXT NOT NULL, UNIQUE(id, property) ON CONFLICT REPLACE

And with the property user.xdg.tags comes as value a comma-separated list of the tags for the image whose id corresponds to the filename with the same id in the filemap.
However, it seems that Baloo can't find the images from the tags (or labels).


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]