Hi Rick,

> Am 14.03.2022 um 04:53 schrieb Jim Lambert via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
>> 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"

what Jim said! :-)

Thisw way the image becomes part of the stack as if "imported as control" 
and you can paint on it or whatever, which is not possible with referenced 
images, be they local or online.

> 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

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to