[mapserver-users] hue, saturation, value -> RGB
Hankley, Chip
Chip.Hankley at GASAI.Com
Wed Jun 5 06:36:46 PDT 2002
As Stephen pointed out, there are some good formulas via the Google search
page that you can wade through to figure it out...
However, some words of caution.
The way ArcView calculates HSV is a little different. Values for H, S, and V
all range from 0 to 255 (I believe). This is different from other HSV color
models. If you have access to ArcView, there are some simple avenue scripts
that will do the conversion for you (or you might be able to get your client
to do it).
Chip
-----Original Message-----
From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com]
Sent: Wednesday, June 05, 2002 4:57 AM
To: Pushkar Pradhan
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [mapserver-users] hue, saturation, value -> RGB
http://www.google.com/search?hl=en&q=hsv+to+rgb&btnG=Google+Search
Pushkar Pradhan wrote:
>
> Hi,
> I have a client who has given me the color hue, saturation and value
> attributes for each shapefile. He got these values from arcview's legend
> table. Doesn anyone know how to translate these values to pure R, G and B
> so that mapserver can understand it?
> Thanks,
>
> -Pushkar S. Pradhan
More information about the MapServer-users
mailing list