Oval framed photo

Roger Guay irog at mac.com
Sun May 12 12:11:39 EDT 2013

On May 11, 2013, at 5:13 AM, David Bovill <david at scimatch.org> wrote:

> Thanks Mike and Roger - seems like it works on OSX at least despite the
> notes in the docs:
> To be used as a pattern on Mac OS systems, an image must be 128x128 pixels
>> or less, and both its height and width must be a power of 2, however, in
>> LiveCode version 2.7, this restriction was partially lifted and the engine
>> will tile rectangular regions correctly with arbitrarily sized background
>> patterns.To be used on Windows and Unix systems, height and width must be
>> divisible by 8. To be used as a fully cross-platform pattern, both an
>> image's dimensions should be one of 8, 16, 32, 64, or 128.

I didn't read the docs, so I didn't know I couldn't do what I am, in fact, doing.

>> However it works nicely on OSX now. I'm keeping the technique below as it
> allows me to reposition the image within the oval by dragging it around -
> but then when I want to keep it I will export the snapshot and then set the
> backgroundpattern of the graphic.
> By the way I can't get the new syntax to work:
>   1.
>>   New variants of the import snapshot and export snapshot commands have
>>   been added: import snapshot ... at size width, height
>>   export snapshot ... at size width, height
> The script editor does not like the syntax?

I just use  "import snapshot from rect". Seems to work every time for me . In fact, I don't even see this option of "at size width, height" in the dictionaries of 5.5.4 and 6.0.


More information about the use-livecode mailing list