POV-Ray : Newsgroups : povray.general : converting rgb to spectra : Re: converting rgb to spectra Server Time
9 Aug 2024 03:18:07 EDT (-0400)
  Re: converting rgb to spectra  
From: Ron Parker
Date: 21 Aug 2000 12:45:04
Message: <slrn8q2ns2.13j.ron.parker@fwi.com>
On Mon, 21 Aug 2000 11:42:03 -0500, Chris Huff wrote:
>I think it would be very useful to have rgb2hls() and hls2rgb() 
>functions, and similar ones for HSV and other color spaces. These could 
>also be useful post_process filters. The only thing stopping me from 
>writing them is a lack of knowledge of how to convert between them.

The PostScript Language Reference Manual contains the necessary formulae,
and is available in PDF format from Adobe's website.  It also might
include some CMYK conversions, though I'm undecided as to the usefulness
of those.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
My opinions.  Mine.  Not anyone else's.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.