[gimp] app: set default simulation intent to relative colorimetric.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: set default simulation intent to relative colorimetric.
- Date: Thu, 18 Aug 2022 17:16:00 +0000 (UTC)
commit 34ae339099b4fe5e2e668c92bf73f7ae10935b8c
Author: Jehan <jehan girinstud io>
Date: Thu Aug 18 19:13:19 2022 +0200
app: set default simulation intent to relative colorimetric.
We should set these explicitly, otherwise it will usually default to the
first of the enum, which is perceptual (which is usually not a proper
choice).
Relative colorimetric is usually the recommended default.
app/core/gimpimage.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c
index 1599ff68c2..8f42942f22 100644
--- a/app/core/gimpimage.c
+++ b/app/core/gimpimage.c
@@ -783,6 +783,10 @@ gimp_image_init (GimpImage *image)
private->metadata = NULL;
+ private->simulation_profile = NULL;
+ private->simulation_intent = GIMP_COLOR_RENDERING_INTENT_RELATIVE_COLORIMETRIC;
+ private->simulation_bpc = FALSE;
+
private->dirty = 1;
private->dirty_time = 0;
private->undo_freeze_count = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]