Browser Widget and Images

Rick Harrison harrison at
Mon Mar 14 15:19:58 EDT 2022


I had forgotten about "import as control" and about
set the imagedata of image “my image”.

set the imagedata doesn’t fit to the image’s object size though.
I would probably have to resize the image beforehand.

I also came across:

put URL "binfile:///ExportedImageFile.png" into image  “my image”

The above does fit the image size nicely and I can paint on it etc.

Thanks for all of your help!


> On Mar 14, 2022, at 5:04 AM, Klaus major-k via use-livecode <use-livecode at> wrote:
>> 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" 

More information about the use-livecode mailing list