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.
This commit is contained in:
Michael Natterer 2019-06-21 10:02:58 +02:00
parent a08293dc74
commit c4ee350f02
1 changed files with 2 additions and 6 deletions

View File

@ -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
}
}