[gimp/gimp-2-10] Issue #3532 - Wrong color profile on nikon taken photos, it's...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue #3532 - Wrong color profile on nikon taken photos, it's...
- Date: Fri, 21 Jun 2019 08:06:41 +0000 (UTC)
commit 28b20af6b22b3119602604f0bb93c25cb06e4cec
Author: Michael Natterer <mitch gimp org>
Date: Fri Jun 21 10:02:58 2019 +0200
Issue #3532 - Wrong color profile on nikon taken photos, it's...
...always AdobeRGB!
Enable the code in gimp_image_metadata_update_colorspace() which syncs
the DCF information to the image's actual color profile, at least as
good as it can, and otherwise sets it to "unspecified".
Also fixes issue #301.
(cherry picked from commit c4ee350f021beea5625f70c047fff88dd474b796)
app/core/gimpimage-metadata.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/app/core/gimpimage-metadata.c b/app/core/gimpimage-metadata.c
index 9141e1513a..ae0774f1bf 100644
--- a/app/core/gimpimage-metadata.c
+++ b/app/core/gimpimage-metadata.c
@@ -159,11 +159,8 @@ gimp_image_metadata_update_colorspace (GimpImage *image)
if (metadata)
{
- /* This seems to be controversial, see the discussions in issue
- * #3532 and issue #301. Enable the code below to test the
- * proposed syncing of color profile and DCF info.
- */
-#if 0
+ /* See the discussions in issue #3532 and issue #301 */
+
GimpColorProfile *profile = gimp_image_get_color_profile (image);
GimpMetadataColorspace space = GIMP_METADATA_COLORSPACE_UNSPECIFIED;
@@ -183,6 +180,5 @@ gimp_image_metadata_update_colorspace (GimpImage *image)
}
gimp_metadata_set_colorspace (metadata, space);
-#endif
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]