[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Imlib2 question
From: |
Graham Fawcett |
Subject: |
Re: [Chicken-users] Imlib2 question |
Date: |
Mon, 24 Sep 2007 16:35:52 -0400 |
>On 9/24/07, William Ramsay <address@hidden> 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] Imlib2 question, William Ramsay, 2007/09/24
- Re: [Chicken-users] Imlib2 question, Alex Queiroz, 2007/09/24
- Re: [Chicken-users] Imlib2 question, William Ramsay, 2007/09/24
- Re: [Chicken-users] Imlib2 question,
Graham Fawcett <=
- Re: [Chicken-users] Imlib2 question, William Ramsay, 2007/09/25
- Re: [Chicken-users] Imlib2 question, Peter Bex, 2007/09/25
- Re: [Chicken-users] Imlib2 question, Alex Queiroz, 2007/09/25
- Re: [Chicken-users] Imlib2 question, Graham Fawcett, 2007/09/25
- Re: [Chicken-users] Imlib2 question, John Cowan, 2007/09/25
- Re: [Chicken-users] Imlib2 question, John Cowan, 2007/09/25
- Re: [Chicken-users] Imlib2 question, Peter Bex, 2007/09/24
- Re: [Chicken-users] Imlib2 question, Peter Bex, 2007/09/24
- Re: [Chicken-users] Imlib2 question, Graham Fawcett, 2007/09/24
- Re: [Chicken-users] Imlib2 question, Zbigniew, 2007/09/25