Saving Image Data to Local File

Ken Ray kray at sonsothunder.com
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")

or 

    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 sonsothunder.com
Web Site: http://www.sonsothunder.com/






More information about the use-livecode mailing list