We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › How do I covert from RGB to CMY ?
Page Index Toggle Pages: 1
How do I covert from RGB to CMY ?? (Read 479 times)
How do I covert from RGB to CMY ??
Aug 12th, 2009, 11:13pm
 
Hi there,

How do I covert from RGB to CMY ?
I googled and found the following description:

----------------

Step 0: Normalize R,G, and B values to fit into range [0.0 ... 1.0], or
adapt the following matrix.

Step 1: RGB to CMY

| C | | 1 | | R |
| M | = | 1 | - | G |
| Y | | 1 | | B |

------------------------------

Could somebody please help me with the actual Processing code?

Thanks so much,
Christian
Page Index Toggle Pages: 1