[gimp] Bug 782840 - CMYK color selector broken when a CMYK profile is configured
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 782840 - CMYK color selector broken when a CMYK profile is configured
- Date: Fri, 19 May 2017 21:38:40 +0000 (UTC)
commit 5b624e00ed76a125ddd7b95edb5e5b5d551ccb7e
Author: Michael Natterer <mitch gimp org>
Date: Fri May 19 23:37:13 2017 +0200
Bug 782840 - CMYK color selector broken when a CMYK profile is configured
When converting from CMYK to RGB, it's perhaps better to use the
CMYK->RGB transform, rather than the RGB->CMYK transform...
modules/color-selector-cmyk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/color-selector-cmyk.c b/modules/color-selector-cmyk.c
index 9069d8b..245bb06 100644
--- a/modules/color-selector-cmyk.c
+++ b/modules/color-selector-cmyk.c
@@ -334,7 +334,7 @@ colorsel_cmyk_adj_update (GtkAdjustment *adj,
cmyk_values[2] = module->cmyk.y * 100.0;
cmyk_values[3] = module->cmyk.k * 100.0;
- gimp_color_transform_process_pixels (module->rgb2cmyk,
+ gimp_color_transform_process_pixels (module->cmyk2rgb,
babl_format ("CMYK double"),
cmyk_values,
babl_format ("R'G'B' double"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]