Re: color selector with cmyk anyone?

2000-05-26 Thread Marc Lehmann

On Wed, May 24, 2000 at 11:07:34PM -0400, Carey Bunks [EMAIL PROTECTED] wrote:
 However, the conversion from CMYK to RGB is unique and is described by
 the following formulas:

While the formulas are indeed what Uwe wants, the CMYK to RGB
transformation still is not unique, simply because neither "RGB" nor
"CMYK" are absolute colourspaces. The RGB modul gimp uses has no relation
to any physical colour model, which means that the RGB space of my
machine(+monitor) is different to most other machines(+monitors). Now, if we
knew the parameters of the RGB space in use of an image, and the parameters
of the CMYK space in use on the printer, then the conversion would only
depend on the policy, everything else is just as much as we have now (i.e. a
plug-in that simply seperates RGB into CMYK).

To really get profressional, the whole picture gets even more complex: there
is the colourmodel of the image that has to be viewed in another colourmodel
(gfxcard/monitor) and printed in a third.

While, for web work, none of these are usually known, we can expect that
professionals do have access to all parameters of all their hardware.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: color selector with cmyk anyone?

2000-05-24 Thread Marc Lehmann

On Wed, May 24, 2000 at 03:16:39AM +0200, Uwe Koloska [EMAIL PROTECTED] 
wrote:
 colors are given as DIC numbers or CMYK.  So my questions:
 
 o Is there an easy to use tool for selecting colors as CMYK and give the
   RGB?  Yes, CMYK gamut != RGB gamut.

No, both "RGB" and "CMYK" re just models, not specific colour volumes with
specified colours. "Some CMYK model's gamut" != "Some RGB model's gamut"
is the point, and this makes the question of "converting RGB to CMYK"
somewhat mood, unless you have calibrated colour volumes (in which case it
becomes easy).

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: color selector with cmyk anyone?

2000-05-24 Thread Carey Bunks



   So is there anyone with such a tool, or the basic transformation rules so
   that I can write my own?

Hi Uwe,

The map from RGB to CMYK is not unique because it depends on a
printing policy that specifies the percentage black that should be in
a pixel.  This is often referred to as GCR (or gray componenet
replacement).  It is important for a variety of reasons including how
much ink is needed to print an image (and thus the speed at with the
print will dry) the size of printable dots on a page, etc.

However, the conversion from CMYK to RGB is unique and is described by
the following formulas:

Presuming that C, M, Y, and K are expressed with values in [0,1] then:

 R = 1-(C+K)
 G = 1-(M+K)
 B = 1-(Y+K)

If C, M, Y, and K are not in [0,1], normalize the equations so they
are.

Best regards,

Carey

PS You may want to read the discussion on CMYK given here:

  http://gimp-savvy.com/BOOK/node53.html

I also recommend this section to those attending GimpCon as it
describes those features needed in the GIMP for it to become CMYK
capable.  This would finally make the GIMP a viable tool for the
pre-press world.


Dr. Carey Bunks 
Senior Scientist
BBN Technologies
70 Fawcett St, 15/2A
Cambridge,  MA 02138
tel: 617-873-3028  fax: 617-873-2918
email:  [EMAIL PROTECTED]