>On 9/24/07, William Ramsay <[EMAIL PROTECTED]> wrote: > That's the problem, I don't know what to use. I've tried call-with-values > and receive, but both give me errors, mostly because I have no idea what > I'm doing. > The call to (imlib:pixel img x y) should return the r, g, b, a values > of the pixel. Just calling it produces r. The others are there, but how > do I get them?
I don't know imlib; but try: (receive (r g b a) (imlib:pixel img x y) (print "r is " r) (print "b is " b)) Graham _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users