Rick Towler writes:
> Well, maybe he wants to embed an emblem or logo in a .sav file.
> Something a bit more "professional" than simply distributing a separate
> file. I mean, *anyone* can do that!
>
> The trick is encoding the image into a function. Like so:
>
>
http://www.acoustics.wa****ngton.edu/~towler/programs/make_imageFunction.pro
>
> Like the header says, there are I'm sure a load of issues you could run
> into. I've used this on a number of smaller images and it works but I
> would expect this to fail with even "medium" resolution images. Also
> you'll want to tweak this a bit as I was working with .png files.
Well, I'm sure this has a use somewhere. I'm not sure "professional"
is the word I would use to describe it, though. "Rube Goldberg
solution" comes to mind. ;-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Se****e ma de ni thui. ("Perhaps thou speakest truth.")


|