[digikam] [Bug 358193] New: Color labels exported from other applications not recognized

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

[digikam] [Bug 358193] New: Color labels exported from other applications not recognized

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=358193

            Bug ID: 358193
           Summary: Color labels exported from other applications not
                    recognized
           Product: digikam
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Labels
          Assignee: [hidden email]
          Reporter: [hidden email]

Digikam seems to store color labels in the following format:
Xmp.digiKam.ColorLabel                       XmpText     1  4

Some other popular photo management applications also have the possibility to
assign color labels.
At least one of the bigger ones, Lightroom, uses XMP labels for that:
Xmp.xmp.Label                                XmpText     5  Green

Digikam seems only to handle the digikam-specific format, as can be seen in
[digikam.git] / libs / dmetadata / dmetadata.cpp /
DMetadata::getImageColorLabel()  (
https://quickgit.kde.org/?p=digikam.git&a=blob&h=75ccf96c4238616cb3d69e85f06ad0f2f5f83a2e&hb=aa0fa10634ca971fc6ba8bd2243b32c5a059a938&f=libs%2Fdmetadata%2Fdmetadata.cpp
- line 495)

For compatibility reason, it should at least read the color tags in
Xmp.xmp.Label

Reproducible: Always


Actual Results:  
Color labels not imported in digikam, no green border for "good" images

Expected Results:  
Color labels of popular applications recognized

--
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 358193] Color labels exported from other applications not recognized

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=358193

[hidden email] changed:

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

--- Comment #1 from [hidden email] ---
Its can be easy to parse Xmp.xmp.Labels tag to import in DK database, but this
string value can has more than one sence, as explained here :

http://www.fastrawviewer.com/usermanual/program-settings/xmp

So, please, if you have a LR available, try all combinaisons and list all
values to handle in DMetadata.

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
|

[digikam] [Bug 358193] Color labels exported from other applications not recognized

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

--- Comment #2 from [hidden email] ---
Also, other question : this XMP tags string is not internationalized i hope,
else this will be the hell...

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
|

[digikam] [Bug 358193] Color labels exported from other applications not recognized

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

--- Comment #3 from [hidden email] ---
If i'm not too wrong, this labels strings are customizable in LR :

http://www.photometadata.org/META-Tutorials-Photo-Mechanic-Setting-Metadata-Preferences

Right ? If yes, so only the default values can be handle in DMetadata.

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
|

[digikam] [Bug 358193] Color labels exported from other applications not recognized

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

--- Comment #4 from LuHe <[hidden email]> ---
This seems to be the description of another program, I've found no way to make
them configurable in Lightroom.

For the time being, I use this horrible script to sync the color labels:
https://gist.github.com/lukas-hetzenecker/1cc07f05b9a45e3e7255

--
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 358193] Color labels exported from other applications not recognized

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

--- Comment #5 from [hidden email] ---
Ok, thanks for the script.

Can you share some image samples with different label tag values to test DK
import from LR ?

Thanks in advance

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
|

[digikam] [Bug 358193] Color labels exported from LightRoom not recognized by digiKam

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Color labels exported from  |Color labels exported from
                   |other applications not      |LightRoom not recognized by
                   |recognized                  |digiKam

--
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 358193] Color labels exported from LightRoom not recognized by digiKam

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

--- Comment #6 from LuHe <[hidden email]> ---
Created attachment 96821
  --> https://bugs.kde.org/attachment.cgi?id=96821&action=edit
All possible color tags for Lightroom and digiKam 5 beta 2

--
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 358193] Color labels exported from LightRoom not recognized by digiKam

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

--- Comment #7 from LuHe <[hidden email]> ---
Sorry it took so long - i have attached a compressed file which contains all
valid color tags for Lightroom and digiKam 5 beta 2.

I think it would be best if the assignment of the colors to the tags would be
configurable - so that digikam allows to both read and write color tags into
different sets of metadata. Just like comments, ratings and tags are
configurable now (awesome feature by the way, thanks for this great work!).

The use case for this is that the images are managed by different people using
different applications - so it would be great if a 2-way synchronization
between these tools were possible.

--
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 358193] Color labels exported from LightRoom not recognized by digiKam

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.0.0
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/9e9c15343489796807f2f44
                   |                            |20ae521326a00e9a9

--- Comment #8 from [hidden email] ---
Git commit 9e9c15343489796807f2f4420ae521326a00e9a9 by Gilles Caulier.
Committed on 30/01/2016 at 17:32.
Pushed by cgilles into branch 'master'.

add rules to be able to import/export color labels from Adobe LightRoom to/from
digiKam
FIXED-IN: 5.0.0

M  +2    -1    NEWS
M  +58   -0    libs/dmetadata/dmetadata.cpp

http://commits.kde.org/digikam/9e9c15343489796807f2f4420ae521326a00e9a9

--
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 358193] Color labels exported from LightRoom not recognized by digiKam

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

--- Comment #9 from [hidden email] ---
Screenshot of import done :

https://www.flickr.com/photos/digikam/24711388405/in/dateposted-public/

--
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 358193] Color labels exported from LightRoom not recognized by digiKam

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

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Labels                      |Tags-Colors

--
You are receiving this mail because:
You are the assignee for the bug.