Saving Image Data to Local File

Phil Davis revdev at pdslabs.net
Fri May 6 20:59:10 EDT 2011


That should be "binfile:" instead of "file:", right?

Phil


On 5/6/11 5:28 PM, Ken Ray wrote:
>> 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/
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net





More information about the use-livecode mailing list