Fun with the templateimage

Bernard Devlin bdrunrev at gmail.com
Thu Oct 15 07:18:13 EDT 2020


This works:

export snapshot from rect tRect of window tWinID at size tDim1,tDim2 to
file tFile as GIF

I saw a report in the forum saying that this scaled incorrectly if the
snapshot was of a text field, but in my tests this was not a problem.

On Thu, Oct 15, 2020 at 11:34 AM Bernard Devlin <bdrunrev at gmail.com> wrote:

> Richard, just FYI
>
> The dictionary (LC 9.5.1) does say that "export snapshot ... at size
> x,x..." is supported since version 6.0, but I can't get it to change the
> size of the exported image.  I'll add a note here if I get it to work.
>
> On Thu, Oct 31, 2019 at 4:38 PM Richard Gaskin via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> The "import snapshot" command had an "at size" option added several
>> versions ago to facilitate some scaling tasks:
>>
>>     import snapshot from the selectedObject at size 100,100
>>
>> But oddly, no such option has been added to the "export snapshot" command.
>>
>> --
>>   Richard Gaskin
>>   Fourth World Systems
>>
>>
>>



More information about the use-livecode mailing list