[racket] need feedback on syntax-expanding/rewriting image-snips

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Tue Aug 9 17:26:26 EDT 2011

> I don't see a way that is fundamentally better than what you're doing
> there, but one minor tweak is that you could turn the images into
> something like this
>  (make-an-image #"...image's bytes go here")
> instead of a url, where make-an-image builds the image from the bytes.
> But maybe you have some reason why urls work better, I'm not sure.

Yes, essentially that's what I'm doing.  I'm using the data: url
scheme to let me encode the image bytes directly within the image uri.
 See:  http://en.wikipedia.org/wiki/Data_URI_scheme

Posted on the users mailing list.