Mercurial > geeqie.yaz
diff src/exif.c @ 1567:c776b1310ca6
added an option to write image orientation to the metadata
author | nadvornik |
---|---|
date | Sun, 26 Apr 2009 09:01:35 +0000 |
parents | 91bed0d66cf2 |
children | df4e69170f2b |
line wrap: on
line diff
--- a/src/exif.c Sat Apr 25 22:08:09 2009 +0000 +++ b/src/exif.c Sun Apr 26 09:01:35 2009 +0000 @@ -1605,6 +1605,9 @@ if (!key) return NULL; + /* convert xmp key to exif key */ + if (strcmp(key, ORIENTATION_KEY) == 0) key = "Exif.Image.Orientation"; + if (format == METADATA_FORMATTED) { gchar *text;