home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4709 < prev    next >
Encoding:
Text File  |  1993-01-07  |  864 b   |  20 lines

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