hsvimage(h, s, v)
{
if (argc == 3)
{
/* convert to rgb */
(r, g, b) = hsv2rgb(h, s, v);
return(rgbimage(r, g, b));
}
else
{
if (argc == 2)
{
rgbimage(h, s);
}
else
{
rgbimage(h);
}
}
}