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
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
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
>
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