From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>,
"Jan U. Hasecke" <juh+ntg-context@mailbox.org>
Subject: Re: Issues with RGB to CMYK conversion with color profiles
Date: Sun, 18 Nov 2018 19:26:41 +0100 [thread overview]
Message-ID: <bec82362-5c82-9d57-f28f-968caf535253@xs4all.nl> (raw)
In-Reply-To: <efae6915-eabf-de47-daa4-085bd6e4042c@gmail.com>
On 11/14/2018 4:51 PM, Wolfgang Schuster wrote:
> Jan U. Hasecke schrieb am 14.11.18 um 11:39:
>> Hi all,
>>
>> attached you find my colormanagement tests and I need your help to
>> understand and debug the situation.
>>
>> I am testing together with a friend of mine, a professional
>> colormanager, who does not know ConTeXt.
>
> Even without a color profile the results from the normal conversion of
> colors from cmyk to rgb
> can result in differences between ConTeXt and Gimp because both use
> different formulas.
>
> This is the formula from ConTeXt (attr-col.lua)
>
> r = 1.0 - math.min(1.0,c+k)
> g = 1.0 - math.min(1.0,m+k)
> b = 1.0 - math.min(1.0,y+k)
>
> and this is the one from Gimp
> (https://gitlab.gnome.org/GNOME/gimp/blob/master/libgimpcolor/gimpcolorspace.c)
>
>
> r = 1.0 - math.min(1.0,c*(1.0-k)+k)
> g = 1.0 - math.min(1.0,m*(1.0-k)+k)
> b = 1.0 - math.min(1.0,y*(1.0-k)+k)
Are there more variants? Do we need to support variants?
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2018-11-18 18:26 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-09 15:24 Colormanagement Jan U. Hasecke
2018-11-09 16:03 ` Colormanagement Hans Hagen
2018-11-09 16:18 ` Colormanagement Tomas Hala
2018-11-10 13:29 ` Colormanagement Jan U. Hasecke
2018-11-09 16:20 ` Colormanagement luigi scarso
2018-11-10 13:34 ` Colormanagement Jan U. Hasecke
2018-11-10 16:24 ` Colormanagement Hans Hagen
2018-11-12 8:02 ` Issues with RGB to CMYK conversion with color profiles (was: Colormanagement) Jan U. Hasecke
2018-11-12 8:34 ` Issues with RGB to CMYK conversion with color profiles Hans Hagen
2018-11-14 10:39 ` Issues with RGB to CMYK conversion with color profiles (was: Colormanagement) Jan U. Hasecke
2018-11-14 10:41 ` Jan U. Hasecke
2018-11-14 13:58 ` Peter Rolf
2018-11-14 14:36 ` Jan U. Hasecke
2018-11-14 15:04 ` Peter Rolf
2018-11-14 15:31 ` Jan U. Hasecke
2018-11-14 15:51 ` Issues with RGB to CMYK conversion with color profiles Wolfgang Schuster
2018-11-18 18:26 ` Hans Hagen [this message]
2018-11-19 9:56 ` Henning Hraban Ramm
2018-11-19 10:14 ` luigi scarso
2018-11-21 14:01 ` Jan U. Hasecke
2018-11-21 14:42 ` luigi scarso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bec82362-5c82-9d57-f28f-968caf535253@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=juh+ntg-context@mailbox.org \
--cc=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).