On Friday 03 June 2005 04:40, Nolan Clayton wrote:
> I don't know if this is the right list but how do you change the
> Value (HSV) of a color in script-fu.
>
> I am playing with the sphere script.  And I would like to change
> the lighting intensity.
>
> Example:
> Color (255 0 0)
> I want a new color as if the only the value had been changed to
> like 50, so then the new color would be (128 0 0). Thanks in
> advance. _______________________________________________


The Bad news: there are no procedures in the PDB to deal with with RGB 
<-> HSV conversion. 
When I needed these, I was told to write my own conversion procedure 
inside the script. (it was a python script, so it won't fit you).

        JS
        -><-

> Gimp-user mailing list
> Gimp-user@lists.xcf.berkeley.edu
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to