Browser Widget and Images

Jim Lambert jiml at netrin.com
Sun Mar 13 23:53:10 EDT 2022


> 
> So accessing the URL of the image directly in the image object
> puts the image there, which is a good first step.
> 
> How is it stored however?  
> 
> If one looks at the image source it still shows the URL. 
> 
> I find I?m unable to paint on top of the image, probably 
> because that would require my being able to modify the
> online URL which isn?t possible for the obvious reason.
> 
> I probably need to make a local copy of the image to
> be able to work on it.  Export image? Copy it to
> the clipboard and paste it elsewhere?
> 
> Suggestions?

Rick,
set the imagedata of img "myImage" to the imagedata of img "myImage"

Will replace the referenced image with the actual content of that image.
In other words the image will now be local and you can then manipulate its data.
No need for snapshots. Although they work too!

Jim Lambert


More information about the use-livecode mailing list