[plt-scheme] pict->image

From: Jordan Johnson (jmj at fellowhuman.com)
Date: Wed Dec 23 03:31:37 EST 2009

Ohh, right; the distinction of new vs. make-object was always tripping  
me up.  Sorry -- I did mean make-object there.

Beyond that, I'm not sure where the all-black image is coming from  
(possibly related to masks?), so I'll defer to the real experts here.


On Dec 22, 2009, at 10:56 PM, Mark Engelberg wrote:

> Hmmm, (new image-snip% b) gives an error.  (make-object image-snip% b)
> runs, but just returns an all-black image.
> On Tue, Dec 22, 2009 at 10:32 PM, Jordan Johnson  
> <jmj at fellowhuman.com> wrote:
>> Mark,
>> I believe what you have to do, rather than return b, is return (new
>> image-snip% b).
>> jmj

Posted on the users mailing list.