[racket] Embedding an image in Racket source

From: José Lopes (jose.lopes at ist.utl.pt)
Date: Tue Jan 3 09:41:50 EST 2012


I am using Racket
I defined a name that holds an image, embedded in a Racket source file, 
and I exported the name.

When I try to import that name from another file I get this error:

Files\Racket-\collects\compiler\cm.rkt:369:6: write: cannot 
marshal value that is embedded in compiled code: (object:image-snip% ...)

Does this mean I cannot export names that refer to an image?


José António Branquinho de Oliveira Lopes
58612 - MEIC-A
jose.lopes at ist.utl.pt

Posted on the users mailing list.