[gimp/gimp-2-10] Issue #2275: rotate commands not actually applied to the image.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue #2275: rotate commands not actually applied to the image.
- Date: Sat, 19 Sep 2020 17:13:01 +0000 (UTC)
commit 7e4d4f9d60d547782107f4ed463c6d496c644881
Author: Jehan <jehan girinstud io>
Date: Sat Sep 19 19:12:13 2020 +0200
Issue #2275: rotate commands not actually applied to the image.
Similar change as commit 8dcf258ffc on master.
libgimp/gimpimagemetadata.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/libgimp/gimpimagemetadata.c b/libgimp/gimpimagemetadata.c
index a9dfe9f648..53d1e18aaf 100644
--- a/libgimp/gimpimagemetadata.c
+++ b/libgimp/gimpimagemetadata.c
@@ -159,6 +159,11 @@ gimp_image_metadata_load_finish (gint32 image_ID,
{
gimp_image_metadata_rotate_query (image_ID, mime_type,
metadata, interactive);
+ /* Drop the orientation metadata in all cases, whether you rotated
+ * or not. See commit 8dcf258ffc on master.
+ */
+ gexiv2_metadata_set_orientation (GEXIV2_METADATA (metadata),
+ GEXIV2_ORIENTATION_NORMAL);
}
if (flags & GIMP_METADATA_LOAD_COLORSPACE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]