Article View: comp.os.ms-windows.programmer.misc
Article #2399Re: RGB <--> HSL ???
From: Chris Marriott
Date: Tue, 26 Jan 1993 21:12
Date: Tue, 26 Jan 1993 21:12
31 lines
2064 bytes
2064 bytes
In article <1993Jan25.173722.5205@hplabsz.hpl.hp.com> yefchak@hplabsz.hpl.hp.com writes: >Where can I find routines to convert between the various >color-mapping schemes, such as RGB, HSL, CMYK, etc.? >Thanks! > >*********************************************************************** >* George Yefchak Hewlett-Packard Laboratories* >* Internet: yefchak@hpl.hp.com P.O.Box 10350 * >* CompuServe: 73607,1625 Palo Alto, CA 94303-0867 * >* AmericaOnline gyefchak@aol.com 415-857-4793 * >* NOT SPEAKING FOR HP FAX 415-852-8502 * >*********************************************************************** > The best book I know of for this is "Computer Graphics: Principles and Practice, 2nd edition" by Foley, van Dam, Feiner and Hughes. It has pages and pages of algorithms for RGB<->HLS, RGB<->CYMK, etc. It's not a cheap book, but it's worth it in my opinion. Best wishes, Chris -- -------------------------------------------------------------------------- | Chris Marriott | chris@chrism.demon.co.uk | | Warrington, UK | BIX: cmarriott | | | CIX: cmarriott | | Save the whales. Collect the whole set. | CompuServe: 100113,1140 | --------------------------------------------------------------------------
Technical Details
Message-ID:
<728082725snz@chrism.demon.co.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!pipex!demon!chrism.demon.co.uk!chrisReferences:
<1993Jan25.173722.5205@hplabsz.hpl.hp.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc From: chris@chrism.demon.co.uk (Chris Marriott) Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!pipex!demon!chrism.demon.co.uk!chris Subject: Re: RGB <--> HSL ??? Distribution: world References: <1993Jan25.173722.5205@hplabsz.hpl.hp.com> Organization: None Reply-To: chris@chrism.demon.co.uk X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19) Lines: 31 Date: Tue, 26 Jan 1993 21:12:05 +0000 Message-ID: <728082725snz@chrism.demon.co.uk> Sender: usenet@demon.co.uk