Hi,
Using something like...
(colour '(1 2 3))
...
(gimp-message (string-append "colour " (number->string (car colour))))
returns 1
Which is good.
Using something like...
(colourR '(0 0 0))
(set! colourR (gimp-image-pick-color newImg activeLayer 128 8.0 FALSE FALSE 1))
(gimp-message (string-append "colour " (number->string (car colourR))))
gives an error.
Error: atom->string: bad base: 10
Running in the console
(gimp-image-pick-color newImg activeLayer 128 8.0 FALSE FALSE 1)
Returns
((210 210 210))
So my question is how do I access the data in the color returned from the color pick function?
Thanks for any help, I've been stuck on this for hours.