Importing a Snapshot from a window off screen
Ray
ray at linkit.com
Fri Sep 18 11:38:54 EDT 2015
Ah haaa! so that's what's going on. I'll give it a try. Many thanks!
On 9/18/15 11:37 AM, Paul Hibbert wrote:
> Ray,
>
> Importing a snapshot from rect uses the computer’s graphic card to generate the snapshot image, whereas, importing a snapshot from an object (group, card, stack etc.) allows the LC engine to generate the snapshot image.
>
> I’m travelling right now so can’t test so easy, but I’m sure if you can drop the ‘from rect’ you should see an improvement.
>
> Paul
>
>
>> On 18 Sep 2015, at 08:32, Ray <ray at linkit.com> wrote:
>>
>> Greetings - Has anybody had any success importing a snapshot from a stack's window which is offscreen?
>>
>> I'm looping through every card in a stack to import a snapshot using something like:
>>
>> import snapshot from rect myRect of window myWinId
>>
>> This causes a lot of annoying screen flicker so I'd like to place the stack's window off screen, do the importing and then return it on screen. But doing so gives me blank images for the snapshots.
>>
>> Any suggestions?
>>
>> Thanks!
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list