[plt-scheme] Where can I find the rocket-s.jpg image of "How to Design Programs/2e: Prolog, Section 2?"

From: Benjamin L.Russell (DekuDekuplex at Yahoo.com)
Date: Mon Aug 18 02:24:33 EDT 2008

While trying to follow along "How to Design Programs/2e: Prolog,
Section 2" (see
http://www.ccs.neu.edu/home/matthias/HtDP/Prologue/book-Z-H-4.html), I
got stuck in trying to insert the rocket-s.jpg image; viz.:

> One important library -- world.ss -- supports operations for computing the width and height of an image:
>
>(* (image-width <rocket-s.jpg image> )
>   (image-height <rocket-s.jpg image> ))
>
>Once you have added a library to your program, clicking Run gives you
>
>    1200 

I was unable to find this image just by going to the "Insert" ->
"Insert Image..." menu item, and when I finally right-clicked on the
image in the browser, then clicked on "Save Image As...," it saved as
"rocket-s.jpg," but then executing the above function in the
Definitions Window returned the following value in the Interactions
Window:

> 1176

This is not what the text specifies.  How should I insert the image so
that I get "1200" as the result of executing the above function?

(Incidentally, do you know why "Prolog" comes up as the page title
when saving a bookmark of the page?  Is this a bug, or is the book
actually related to Prolog?)

-- Benjamin L. Russell



Posted on the users mailing list.