[plt-scheme] Re: Embedded images in planet packages

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Wed Oct 15 15:38:42 EDT 2008

Robby Findler wrote:
> bitmap%s are htdp/world images. (htdp/world image are not all bitmaps, tho.)

Then what am I doing wrong here?

#lang scheme
(require htdp/world)
(require scheme/runtime-path scheme/gui)
(define-runtime-path img-path "somegoofyimage.jpg")
(define img (make-object bitmap% img-path))
(image-height img)

image-height: expected <image> as first argument, given: #<bitmap%>

David


Posted on the users mailing list.