Re: [racket-users] put-image

2021-02-17 Thread Shu-Hung You
One option is using save-image from 2htdp/image to save the images as PNG files and open them using external programs. https://docs.racket-lang.org/teachpack/2htdpimage.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._save-image%29%29 If you can use a different language (say racket), another option

Re: [racket-users] put-image

2021-02-16 Thread patric...@gmail.com
I was able to use the Bootstrap teachpack. I am running my program from the command line and racket returns *#*. Is there a way to view the output outside of Dr. Racket? On Sunday, February 7, 2021 at 4:51:27 PM UTC-5 Robby Findler wrote: > Okay, I've added it. It is pretty straightforward to d

Re: [racket-users] put-image

2021-02-07 Thread Robby Findler
Okay, I've added it. It is pretty straightforward to define it in your own code in the meantime, Patrick: (define (put-image i1 x y i2) (place-image i1 x (- (image-height i2) y) i2)) Robby On Sun, Feb 7, 2021 at 5:32 AM Stephen De Gabrielle wrote: > +1 > > > On Sun, 7 Feb 2021 at 03:41, Rob

Re: [racket-users] put-image

2021-02-07 Thread Stephen De Gabrielle
+1 On Sun, 7 Feb 2021 at 03:41, Robby Findler wrote: > Any objection to adding it to 2htdp/image? > > Robby > > On Sat, Feb 6, 2021 at 6:32 PM Sorawee Porncharoenwase < > sorawee.pw...@gmail.com> wrote: > >> As explained in documentation of WeScheme >>

Re: [racket-users] put-image

2021-02-06 Thread Robby Findler
Any objection to adding it to 2htdp/image? Robby On Sat, Feb 6, 2021 at 6:32 PM Sorawee Porncharoenwase < sorawee.pw...@gmail.com> wrote: > As explained in documentation of WeScheme > , > put-

Re: [racket-users] put-image

2021-02-06 Thread Sorawee Porncharoenwase
As explained in documentation of WeScheme , put-image is only available in WeScheme. Racket and its libraries don’t have this function. It’s easy to implement it yourself, however, by using plac

[racket-users] put-image

2021-02-06 Thread patric...@gmail.com
What do I need to do to be able to use the "put-image" method from WeScheme? I am starting off my program with: *#lang htdp/bsl(require 2htdp/image)* Is there another package I need to use? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. T