[Bug 217735] New: Import/export tag hierarchy to/from digikam

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] New: Import/export tag hierarchy to/from digikam

bogdan
https://bugs.kde.org/show_bug.cgi?id=217735

           Summary: Import/export tag hierarchy to/from digikam
           Product: digikam
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.0 rc (using KDE 4.3.4)
OS:                Linux
Installed from:    openSUSE RPMs

I would need a way to be able to import/export tag hierarchies.

For instance I create a tag hierarchy in digikam and I want to send it to a
friend to use the same tag hierarchy.

There are available commercial hierarchy http://www.controlledvocabulary.com/,
but ther is none available for digikam and even if it was I don't see a way to
import it.

Please let me know if there is a way. I think this is important for digikam's
acceptance. This is one of the features still holding be glued to Ligthroom and
therefore to windows.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=217735


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Database
            Version|unspecified                 |1.0.0




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-12-07 18:07:22 ---
What's LR can recognize as tags hierarchy file format ? XML based ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

bogdan
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735





--- Comment #2 from  <bogdan hlevca com>  2009-12-07 18:45:31 ---
I will generate one and send it to you

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Gilles Caulier-4
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735





--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2009-12-07 18:49:48 ---
Please attach this file to this entry.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

bogdan
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735





--- Comment #4 from  <bogdan hlevca com>  2009-12-07 19:17:44 ---
Created an attachment (id=38903)
 --> (http://bugs.kde.org/attachment.cgi?id=38903)
Lightroom Keyword hierarchy

The right panel has the hierarchy shown in the export file.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

bogdan
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735





--- Comment #5 from  <bogdan hlevca com>  2009-12-07 19:22:58 ---
Created an attachment (id=38904)
 --> (http://bugs.kde.org/attachment.cgi?id=38904)
The exported keyword hierarchy from Lightroom

It looks like LR imports/exports text files. The hierarchy is implemented with
<TAB> based branches. Each root of a hierarchy starts from column 0, subsequent
lines are tab delimited and the number of tabs is marking the depth in the
hierarchy.

I guess we can support this in digikam and also add some XML based tag files.
Also please look at the website link from the original post. They sell keywords
for multiple applications

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

bogdan
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #6 from  <bogdan hlevca com>  2009-12-07 19:53:52 ---
I want to add also that there is a Metadata menu item, which has as sub-menus
"Import Keywords" and "Export Keywords".  The imported tags are added to the LR
keyword hierarchy and can be used to tag pictures or sets of pictures.

Also there are "Synchronize" & "Synchronize Metadata" buttons,  which can apply
to all the changes, tags, keywords , etc to the selected pictures.

That is really a nice feature to have. Maybe I should open another wish feature
bug. That will also make obsolete a lot of other requests on the wishlist.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

bogdan
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735





--- Comment #7 from  <bogdan hlevca com>  2009-12-07 22:56:29 ---
Apparently the tags are stored in XMP and not in IPTC.
This is important when exporting to Flicker or Picassa

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

bogdan
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735





--- Comment #8 from  <bogdan hlevca com>  2009-12-16 22:16:56 ---
Any intention of implementing this? I could help if needed.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Gilles Caulier-4
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735





--- Comment #9 from Gilles Caulier <caulier gilles gmail com>  2009-12-16 23:10:20 ---
I will review this entry after that digiKam 1.0.0 will be released (20
december)

For the moment we are busy to finalize and stabilize code.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Bugzilla from terri.bugs@gmx.com
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #10 from  <terri bugs gmx com>  2010-05-29 16:33:34 ---
I have imported tag hierarchies by applying them to images in one program and
then simply adding those images to my digikam collection. It's not pretty, but
it works as long as you don't have too many tags assigned to a single image
(field size is limited to 65k in XMP and that's including tags and XMP markup).
700-1200 tags per image is fine depending on how long the tags are.

The same works also the other way around. Apply your tags (or hierarchy) in
digikam and then add the image to your collection somewhere else or just read
the keywords off the image. You can use exiv2 or exiftool (easier) to read the
keywords from image to text file.

However, I would _definately_ want digikam to have the ability to import and
export keyword hierarchies directly as many other applications do.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Gilles Caulier-4
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #11 from Gilles Caulier <caulier gilles gmail com>  2010-05-29 23:10:35 ---
64k is only true for JPEG...
PNG TIFF have no limit.

Note : Adobe use more than one JPEG section to host XMP, so more than 64K.
There is also the way to use XMP sidecar file. In this case, there is no size
limit.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Bugzilla from terri.bugs@gmx.com
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735





--- Comment #12 from  <terri bugs gmx com>  2010-05-30 10:53:12 ---
I said to limit the tag number because digikam does not seem to read more than
700-1100 tags per image correctly. At least version 1.0 (or similar) didn't
when I imported tags from Adobe. If more tags were added to a image digikam
messed the hierarchy up, lost some keywords even if two other apps showed them
correctly or  hang unresponsively. Perhaps things have changed since then, I
don't know.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Gilles Caulier-4
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735





--- Comment #13 from Gilles Caulier <caulier gilles gmail com>  2010-05-30 10:57:35 ---
Before, digiKam used IPTC to import/export tags hierarchies. IPTC has severals
limitations (strings size, ASCII only).
Now we use XMP instead. There is no limitation there. UTF8 is used there.
digiKam use a dedicated XMP namespace to host hierarchies. stand alone keywords
are hosted in another place in XMP and also IPTC.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Bugzilla from althio.forum@gmail.com
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #14 from  <althio forum gmail com>  2010-09-06 17:09:10 ---
*** This bug has been confirmed by popular vote. ***

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Vincent Tassy-2
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735

Vincent Tassy <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #15 from Vincent Tassy <[hidden email]> ---
Trying to revive this WISH as we're now in 2.6 ....

While I'm not interested in exporting to Lightrroom or another 3rd party
product, I'm more interested in importing/exporting the tag hierarchy between
digikam installs !

I think it's becoming a common scenario that people have a digikam install on a
beefy computer at home but also have an install on a laptop or like in my case
on a netbook and I wish I could do some of the DAM work on the go but still
have the same tag hierarchy that is available on the home PC.

So maybe a simple import/export to a digikam proprietary XML file would
suffice.

I'm concious of the implications regarding the integrity of the DB if one were
to delete a tag on a PC and then import on another ... but I still think it's
an interesting feature to support mobility.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

julien.t43+kde
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #16 from [hidden email] ---
It's possible to extract tags with exiftool (like 'exiftool -T -r -Keywords
<dir>') but you will loose hierarchy and not possible to import them back in
digikam (outside of the ones imported from images).
For me, there was some time, where I couldn't use digikam and want to use it
somewhere else but without import/export, had to do it the manual way ...

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

Gilles Caulier-4
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735

--- Comment #17 from Gilles Caulier <[hidden email]> ---
Tags hierarchy is stored in digiKam XMP namespace and can be extracted without
to loss any information (and restored) using Exiftools...

http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/XMP.html#digiKam

Look TagsList XMP tag...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 217735] Import/export tag hierarchy to/from digikam

julien.t43+kde
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735

--- Comment #18 from [hidden email] ---
ok. for used tags:
$ exiftool -T -tagslist -keywords ~/Images/20120607/*JPG |grep -v '^-$'
got them.
One comment, if tags is at root (without parent), tagslist is empty (at least
in my case). else tagslist keeps the parent hierarchy of the tag unlike
keywords.

Still you have to do it on whole collection. can't harmonize tags list
available between multiple (new) digikam installation or with other softwares.

Advanced alternative would be sql query on digikam.db
sqlite> SELECT * FROM Tags LIMIT 10;
but I don't understand the difference between Tags and TagsTree as id/pid is
present in both.
A usable output can be done with
sqlite> SELECT t2.name as parent,t1.name as name FROM Tags t1,Tags t2 WHERE
t1.pid!=0 AND t2.id==t1.pid LIMIT 10;

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 217735] Import/export tag hierarchy to/from digikam

Gilles Caulier-4
In reply to this post by bogdan
https://bugs.kde.org/show_bug.cgi?id=217735

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|CONFIRMED                   |RESOLVED

--- Comment #19 from Gilles Caulier <[hidden email]> ---


*** This bug has been marked as a duplicate of bug 258272 ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12