[comp.graphics] RGB --> CMYB, OOPS.

hutch@sdcsvax.UCSD.EDU (Jim Hutchison) (06/09/87)

<>
Boy do I feel dumb.  Additive vs. Subtractive colors.  Ignore the previous
articles formula, I was drugged, being held hostage, tired, possessed...

In a prefect world (prefect ink, 255 is full on, 0 is full off): 

RGB --> CYM

	C = 255 - R       Y = 255 - B       M = 255 - G

CYM --> CYMB

	Take the least component of CYM, and make it B.  Subtract
	B from CYM.

In the real world there is correction for organic dyes, but as it is
getting late I think best to stop before I have to post more tomorrow.

-- 
    Jim Hutchison   		UUCP:	{dcdwest,ucbvax}!sdcsvax!hutch
		    		ARPA:	Hutch@sdcsvax.ucsd.edu
Disclaimer:  I'm gone, really, away from my terminal, in the tub, honest.