Saving Image Data to Local File

Ken Ray kray at
Fri May 6 20:28:41 EDT 2011

> I am displaying a static map from Google in an image object.  How do I save a
> copy of this map to a local PNG file so I can display it again without access
> to the Internet?

Here you go:

    put img 1 into url ("file:/path/to/my/file.png")


    put the text of img 1 into url ("file:/path/to/my/file.png")

Either one works (since "the text" is implied in the first example).

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at
Web Site:

More information about the use-livecode mailing list