[gimp] Bug 655684 - After saving an image with geotags you cannot...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 655684 - After saving an image with geotags you cannot...
- Date: Sat, 8 Sep 2012 22:56:36 +0000 (UTC)
commit aecef113abd1010bcef2e5d3c7a8d8271a64525f
Author: Michael Natterer <mitch gimp org>
Date: Sun Sep 9 00:54:49 2012 +0200
Bug 655684 - After saving an image with geotags you cannot...
Apply patch from Hartmut Kuhse which fixes encoding of
XMP_TYPE_GPS_COORDINATE.
plug-ins/metadata/xmp-encode.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/metadata/xmp-encode.c b/plug-ins/metadata/xmp-encode.c
index 184b2e7..fc6464d 100644
--- a/plug-ins/metadata/xmp-encode.c
+++ b/plug-ins/metadata/xmp-encode.c
@@ -174,9 +174,14 @@ gen_property (GString *buffer,
NULL);
break;
+ case XMP_TYPE_GPS_COORDINATE:
+ gen_element (buffer, 2,
+ schema->prefix, property->name, value_array[0],
+ NULL);
+ break;
+
case XMP_TYPE_RESOURCE_REF:
case XMP_TYPE_DIMENSIONS:
- case XMP_TYPE_GPS_COORDINATE:
case XMP_TYPE_FLASH:
case XMP_TYPE_OECF_SFR:
case XMP_TYPE_CFA_PATTERN:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]