home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!torn!nott!emr1!jagrant
- From: jagrant@emr1.emr.ca (John Grant)
- Subject: how to convert (C,M,Y) colours to (R,G,B)?
- Message-ID: <1993Jan7.211624.27277@emr1.emr.ca>
- Organization: Energy, Mines, and Resources, Ottawa
- Date: Thu, 7 Jan 1993 21:16:24 GMT
- Lines: 10
-
- I have several (C,M,Y) colour palettes that we use in UNIRAS graphics
- on the VAX that I want to convert to (R,G,B) palettes for use in Windows.
- Can anyone supply the algorithms to convert between these 2 colour
- systems. I have code to convert between (H,L,S) and (R,G,B).
- I think the relationship between CMY and RGB is quite simple, because
- CMY is subtractive and RGB is additive.
- --
- John A. Grant jagrant@emr1.emr.ca
- Airborne Geophysics
- Geological Survey of Canada, Ottawa
-