Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cleanup exif data See discussion in #16479 It turned out that exiv2 gives a whole zoo of manufacturer specific values for the white balance. In some cases where a camera value has no representation by exiv2, the color temperature value is returned, in a not well formated way with trailing spaces. Improvements/fixes: - remove trailing spaces - `not defined` and `unknown` are now treated as the darktable default `unnamed` - entries are now compared case-insensitive before they get written to the database. This avoids having duplicates like `Cloudy` and `CLOUDY` - if a numeric exif value `n` has no textual representation in exiv2 the returned string is `(n)` which is pretty much useless so it is discarded now - fixed a bug in `collection.c` where `strlen()` was used instead of `g_utf8_strlen()`. This failed on strings containing special characters (e.g. german umlauts)
- Loading branch information
Showing
3 changed files
with
44 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters