[gimp] app: set the image's "is color managed" in gimp_image_new_from_drawable()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: set the image's "is color managed" in gimp_image_new_from_drawable()
- Date: Sun, 8 May 2016 17:54:00 +0000 (UTC)
commit 1da4236e44d53aa7414d0577da6408c1d02950b5
Author: Michael Natterer <mitch gimp org>
Date: Sun May 8 19:46:35 2016 +0200
app: set the image's "is color managed" in gimp_image_new_from_drawable()
based on the src image's setting.
app/core/gimpimage-new.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpimage-new.c b/app/core/gimpimage-new.c
index da37d32..cbeb580 100644
--- a/app/core/gimpimage-new.c
+++ b/app/core/gimpimage-new.c
@@ -193,6 +193,9 @@ gimp_image_new_from_drawable (Gimp *gimp,
gimp_image_set_resolution (new_image, xres, yres);
gimp_image_set_unit (new_image, gimp_image_get_unit (image));
+ gimp_image_set_is_color_managed (new_image,
+ gimp_image_get_is_color_managed (image),
+ FALSE);
profile = gimp_color_managed_get_color_profile (GIMP_COLOR_MANAGED (drawable));
gimp_image_set_color_profile (new_image, profile, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]