[plt-scheme] Re: Embedded images in planet packages
bitmap%s are htdp/world images. (htdp/world image are not all bitmaps, tho.)
Robby
On Wed, Oct 15, 2008 at 2:30 PM, David Van Horn <dvanhorn at ccs.neu.edu> wrote:
> Robby Findler wrote:
>>
>> This is a shortcoming in our compiler, I'm sorry to say. If you want
>> to use images in planet packages, I think the best thing I can offer
>> you now is to use define-runtime-path to point to the image and then
>> (make-object bitmap% ....), which gives you the same kind of a value
>> as the embedded image would, but without embedding it.
>
> Is there a way to turn a bitmap% object into a htdp/world image? (I don't
> mind replacing the embedded image with define-runtime-path and
> make-object---although it would be nice if I didn't have to---but I don't
> want to rewrite my program to use the GUI toolkit instead of the World
> teachpack.)
>
> David
>
>