Browser Widget and Images

2022-03-13 Thread Rick Harrison via use-livecode
I have a large free public domain image displaying nicely in my LC Browser Widget. I want to bring the image directly into a LiveCode image object to be able to play around with it. What’s the best way to do that? While I was looking around in the dictionary for possibilities, I came across so

Re: Browser Widget and Images

2022-03-13 Thread Klaus major-k via use-livecode
Hi Rick, > Am 13.03.2022 um 19:34 schrieb Rick Harrison via use-livecode > : > > I have a large free public domain image displaying nicely in my LC Browser > Widget. > I want to bring the image directly into a LiveCode image object to be able to > play around with it. > What’s the best way to

Re: Browser Widget and Images

2022-03-13 Thread Rick Harrison via use-livecode
Hi Klaus, Thanks for answering. 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 beca

Re: Browser Widget and Images

2022-03-13 Thread Peter Bogdanoff via use-livecode
Rick, you want to look at the export snapshot or the export image commands for that. pb > On Mar 13, 2022, at 1:56 PM, Rick Harrison via use-livecode > wrote: > > Hi Klaus, > > Thanks for answering. > > So accessing the URL of the image directly in the image object > puts the image there, w

Re: Browser Widget and Images

2022-03-13 Thread Jim Lambert via use-livecode
> > 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

Re: Browser Widget and Images

2022-03-14 Thread Klaus major-k via use-livecode
Hi Rick, > Am 14.03.2022 um 04:53 schrieb Jim Lambert via use-livecode > : > >> 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.

Re: Browser Widget and Images

2022-03-14 Thread Rick Harrison via use-livecode
Thanks! 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 “m