Re: [Gimp-user] Scheme - random foreground colour





Thanks a bunch - mucho appreciated!

-u


----Original Message----
From: paynekj hotmail com
Date: 13/03/2016 20:48
To: "ugajin talktalk net"<ugajin talktalk net>, "gimp-user-list gnome 
org"<gimp-user-list gnome org>
Subj: Re: [Gimp-user] Scheme - random foreground colour

Try

(list (rand 255) (rand 255) (rand 255))

for example: (gimp-context-set-foreground (list (rand 255) (rand 255) 
(rand 255)))

Kevin

________________________________________
From: gimp-user-list <gimp-user-list-bounces gnome org> on behalf of 
ugajin talktalk net <ugajin talktalk net>
Sent: 13 March 2016 18:40
To: gimp-user-list gnome org
Subject: [Gimp-user] Scheme - random foreground colour

Hi,

Can anyone tell me please, how to pass random values as colour
parameter list with script-fu?

Thanks

-u
_______________________________________________
gimp-user-list mailing list
List address:    gimp-user-list gnome org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list

List archives:   https://mail.gnome.org/archives/gimp-user-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]