Re: [racket-users] images in racket files

2019-07-19 Thread Stephen De Gabrielle
thanks. I was trying to help Connie with her language idea. Her eyes lit up when I pasted a pic of a waffle into DrRacket S. On Fri, 19 Jul 2019 at 18:22, Laurent wrote: > Looks like your best bet is to save the pict as a bitmap in a separate > file, then load it in your module and export

Re: [racket-users] images in racket files

2019-07-19 Thread Laurent
Looks like your best bet is to save the pict as a bitmap in a separate file, then load it in your module and export this value. >From the top of my head: where the pic is produced: (send (pict->bitmap my-pict) save-bitmap "path-to/the-bitmap-file.png" 'png) (or maybe: right click on the snip then

[racket-users] images in racket files

2019-07-19 Thread Stephen De Gabrielle
Hi, I'm trying to export an 'pict' image i have pasted in a DrRacket file, e.g. #lang racket (require pict) (define my-pasted-image ) (provide my-pasted-image ) I can specify it in (provide ..) , but attempting to reference it causes this error ../../../../Applications/Racket