Project

General

Profile

Bug #10923

Flickr export sets title as comment when there is no description

Added by Pol van der Fielden about 4 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
General
Target version:
Start date:
02/19/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0.1
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Exporting to Flickr sets darktable's title as title and description as a comment. But when there's no description in darktable, export sets same title as a comment in the photo.

Associated revisions

Revision 71b19f03 (diff)
Added by Tobias Ellinghaus almost 4 years ago

Put Xmp metadata into the right Exif fields

Before we put Xmp.dc.title into Exif.Image.ImageDescription which is
just wrong. Exif doesn't know about titles, but description. So we now
have Xmp.dc.description either put into Exif.Image.ImageDescription or
Exif.Photo.UserComment, depending on character encoding.

At the same I cleaned up the code a bit by moving repeated things into a
function and also clear the metadata from the source image before adding
ours. Otherwise the user could clear a field in dt that was auto-filled
at import and have the data back in the exported image.

Hopefully fixes #10923.

Revision 08c8ed3d (diff)
Added by Tobias Ellinghaus almost 4 years ago

Put Xmp metadata into the right Exif fields

Before we put Xmp.dc.title into Exif.Image.ImageDescription which is
just wrong. Exif doesn't know about titles, but description. So we now
have Xmp.dc.description either put into Exif.Image.ImageDescription or
Exif.Photo.UserComment, depending on character encoding.

At the same I cleaned up the code a bit by moving repeated things into a
function and also clear the metadata from the source image before adding
ours. Otherwise the user could clear a field in dt that was auto-filled
at import and have the data back in the exported image.

Hopefully fixes #10923.

(cherry picked from commit 71b19f03ea8b59d81583d66fa65f0d0f3a471fca)

History

#1 Updated by Tobias Ellinghaus about 4 years ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

It's not darktable who is setting the description to the title. It's either flickcurl (looking at the code I don't think so) or it's Flickr itself. Could you link to an image you uploaded like that where we can see the effect?

#2 Updated by Pol van der Fielden almost 4 years ago

Tobias Ellinghaus wrote:

It's not darktable who is setting the description to the title. It's either flickcurl (looking at the code I don't think so) or it's Flickr itself. Could you link to an image you uploaded like that where we can see the effect?

Here you are:

https://www.flickr.com/photos/politvs/24789117423

#3 Updated by Tobias Ellinghaus almost 4 years ago

  • % Done changed from 20 to 100
  • Status changed from Incomplete to Fixed

#4 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top