🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.misc
3 messages
3 total messages Started by George Yefchak Mon, 25 Jan 1993 17:37
RGB <--> HSL ???
#2320
Author: George Yefchak
Date: Mon, 25 Jan 1993 17:37
11 lines
1098 bytes
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            *
***********************************************************************
Re: RGB <--> HSL ???
#2327
Author: Dave Jones
Date: Mon, 25 Jan 1993 20:48
12 lines
1118 bytes
George Yefchak (yefchak@hplabsz.hpl.hp.com) wrote:
> Where can I find routines to convert between the various
> color-mapping schemes, such as RGB, HSL, CMYK, etc.?
> Thanks!
> 
Look inside any recent book on color perception and reproduction.  That's 
how I got mine: I just typed in the pseudo-code from a book as C.
--
||||||||||||||||||||||||||||||||||||||||Marketing is the business of selling
|| Honk if you like Einstein |||||||||||projects to management.
||------------------------------------------------------------------------
||Dave Jones (dj@ekcolor.ssd.kodak.com)|Eastman Kodak Co. Rochester, NY  |
Re: RGB <--> HSL ???
#2399
Author: Chris Marriott
Date: Tue, 26 Jan 1993 21:12
31 lines
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     |
--------------------------------------------------------------------------
 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads