mirror of https://github.com/GNOME/gimp.git
app: don't run and color profile import if the image is not color managed
This commit is contained in:
parent
801b1bb9bc
commit
7fffa9dc2a
|
@ -440,7 +440,8 @@ gimp_image_import_color_profile (GimpImage *image,
|
|||
g_return_if_fail (GIMP_IS_CONTEXT (context));
|
||||
g_return_if_fail (progress == NULL || GIMP_IS_PROGRESS (progress));
|
||||
|
||||
if (gimp_image_get_color_profile (image))
|
||||
if (gimp_image_get_is_color_managed (image) &&
|
||||
gimp_image_get_color_profile (image))
|
||||
{
|
||||
GimpColorProfilePolicy policy;
|
||||
GimpColorProfile *dest_profile = NULL;
|
||||
|
|
Loading…
Reference in New Issue