Re: Images and arrays...

2022-08-11 Thread Phil Davis via use-livecode
Hi Paul, sorry I'm so late to the party. I think the best you can do is to capture & then reuse all the properties of the target image. I created a stack and imported an image. Then I ran this button script to make an exact replica of image 1. It worked: on mouseUp     put the proper

Re: Images and arrays...

2022-07-05 Thread Tom Glod via use-livecode
imagedata does not include alpha as odd as it sounds "the text of image" contains all of the data. :D On Tue, Jul 5, 2022 at 9:48 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Put the imageData? > > Sent from my iPhone > > > On Jul 5, 2022, at 18:40, Paul Dupuis

Re: Images and arrays...

2022-07-05 Thread Bob Sneidar via use-livecode
Put the imageData? Sent from my iPhone > On Jul 5, 2022, at 18:40, Paul Dupuis via use-livecode > wrote: > > I am drawing a blank: > > If I have the following code: > > export snapshot from rect tRect of player "mediaConvert" of > stack "libHrAPI" to tImage as PNG >

Images and arrays...

2022-07-05 Thread Paul Dupuis via use-livecode
I am drawing a blank: If I have the following code:   export snapshot from rect tRect of player "mediaConvert" of stack "libHrAPI" to tImage as PNG   put tImage into pRefArray[tRef] The actual image (not a reference, such as a long ID) is placed in the tRefArr